EdColeman opened a new issue, #3005:
URL: https://github.com/apache/accumulo/issues/3005

   The prop store has a method to get values directly from ZooKeeper that does 
not use the cache.  When updating properties this may help reduce the 
concurrency issues that are seen with the multiple property updates.
   
   Instead of using:
   
    ```java
   context.getPropStore().get(TablePropKey.of(context, tableId)))
   ```
   
   and equivalent call using
   
   ```java
   context.getPropStore().getWithoutCaching(SystemPropKey.of(context))
   ```
   
   The basic idea is that the getWithoutCaching method existed to read the 
vprops directly from ZooKeeper and does not add the returned value to the local 
cache.  The process reading / updating the value might not ever host anything 
that would benefit from caching and may help to reduce update race conditions 
because its not relying on watcher notification to update or invalidate the 
cached values.


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