tera icon indicating copy to clipboard operation
tera copied to clipboard

Only write MetaTable on Load

Open caijieming-ng opened this issue 9 years ago • 3 comments

Just think about it

caijieming-ng avatar Dec 22 '16 12:12 caijieming-ng

very good point!

and, think about this case:

  1. current meta: tablet-0 at tabletserver-A
  2. mater sends a write-request ( tablet-0 move to tablet-B)
  3. master restarts, it scans meta and finds that tablet-0 at tabletserver-A
  4. write-request applies, now master-memory VS. meta?

too hard to code :(

is there a common way to do these?

taocp avatar Dec 22 '16 12:12 taocp

very bad case 😢

00k avatar Dec 23 '16 01:12 00k

split's bug: master scan meta before ts write meta it can be Reproducible

caijieming-ng avatar Dec 23 '16 08:12 caijieming-ng