EdColeman opened a new pull request, #2769:
URL: https://github.com/apache/accumulo/pull/2769

   Modify the synchronization of configurations cached in the 
ServerConfigurationFactory with ZooKeeper.
   
   The previous implementation leveraged the caffeine cache refresh after write 
capability - however, the secondary caching of configurations in the 
SeverConfigurationFactory makes that capability less effective. Because the 
secondary cache and the data versions use the secondary cache, the prop cache 
implementation is read less frequently. The use of data versions is an 
optimization for iterators that avoids any overhead from reading the entire 
property payload.
   
   These changes provide the following benefits over the original 
implementation:
   - deletions are detected and eliminate the persistent caching of 
configurations.
   - detected changes are propagated to the prop store.
   - uses lighter weight getStatus calls.
   - provides jitter between calls and staggered invocations to reduce 
ZooKeeper load
   
   
   


-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to