keith-turner commented on PR #3091:
URL: https://github.com/apache/accumulo/pull/3091#issuecomment-1329783854

   > Regarding this - how would the client know whether the cache contents are 
correct or not if it doesn't query the metadata table each time to compare the 
cached data?
   
   Thinking the way it would work is that if a tablet splits and no longer 
exist, but is still in a clients cache, that it would eventually go to a scan 
server that would report the tablet does not exists and it would then clear its 
cache entry for that tablet.  After its cleared it would reload it eventually.  
 I think this is how caching works w/ tservers.  It stays in the cache until a 
tserver reports back it does not exists.  I think this was working for scan 
servers too when they were querying online tables, it would take the same code 
path when a scan server or tserver reported a tablet no longer existed.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to