keith-turner commented on a change in pull request #372: ACCUMULO-4779 Improved 
performance get by prefix in config
URL: https://github.com/apache/accumulo/pull/372#discussion_r165719887
 
 

 ##########
 File path: 
server/base/src/main/java/org/apache/accumulo/server/conf/NamespaceConfiguration.java
 ##########
 @@ -167,4 +167,9 @@ public synchronized void invalidateCache() {
     // to see if it happened to be created so we could invalidate its cache
     // but I don't see much benefit coming from that extra check.
   }
+
+  @Override
+  public long getUpdateCount() {
+    return Math.max(parent.getUpdateCount(), 
getPropCacheAccessor().getZooCache().getUpdateCount());
 
 Review comment:
   Nice catch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to