Open
Description
The Tablet metadata is updated in DatafileManager.importMapFiles
here outside of the tablet lock. Then, the datafileSizes
map is modified inside of the Tablet lock here. Tablet.compareTabletInfo
is called from a thread in the TabletServer periodically. Does updating the tablet metadata outside of the tablet lock in importMapFiles
make it more likely that the compareTabletInfo
check would see a file in the tablet metadata but not in datafileSizes? It seems to me that if compareTabletInfo
ran between Tablet line 265 and line 269, then it would report missing files that may not be missing.