EdColeman commented on code in PR #2797:
URL: https://github.com/apache/accumulo/pull/2797#discussion_r913854299


##########
server/base/src/main/java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java:
##########
@@ -172,8 +172,8 @@ public void create(PropStoreKey<?> propStoreKey, 
Map<String,String> props) {
    */
   @Override
   public @NonNull VersionedProperties get(final PropStoreKey<?> propStoreKey) {
-    checkZkConnection(); // if ZK not connected, block, do not just return a 
cached value.
     propStoreWatcher.registerListener(propStoreKey, this);
+    checkZkConnection(); // if ZK not connected, block, do not just return a 
cached value.

Review Comment:
   This seems to be a good change.



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