tera
tera copied to clipboard
Only write MetaTable on Load
Just think about it
very good point!
and, think about this case:
- current meta: tablet-0 at tabletserver-A
- mater sends a write-request ( tablet-0 move to tablet-B)
- master restarts, it scans meta and finds that tablet-0 at tabletserver-A
- write-request applies, now master-memory VS. meta?
too hard to code :(
is there a common way to do these?
very bad case 😢
split's bug: master scan meta before ts write meta it can be Reproducible