keith-turner opened a new issue #2031: URL: https://github.com/apache/accumulo/issues/2031
**Is your feature request related to a problem? Please describe.** When a tablet is loaded on a tablet server, it will load everything from the the metadata table for the tablet into memory. The tablet assumes its the only thing writing to the metadata table from that point on and only writes out updates to the tablet metadata. When a table closes it will do a sanity check where it reads tablet metadata and compares that to what it has in memory. The expectation is that they are the same. For a long assigned tablet, it could be loaded on a tserver for months. If the metadata table and what is in memory were to get out of sync for any reason, it could go undetected for a long time. **Describe the solution you'd like** Before writing the the metadata table, tablets could periodically do this sanity check. For example they could do the sanity check prior to write if the last sanity check was more than 10 minutes ago. **Describe alternatives you've considered** A tablet server could use a batch scanner to get metadata for all tablets its hosting every X minutes and then use this for a sanity check. This could use #1974. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
