You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/02/08 14:33:50 UTC

[GitHub] [accumulo] milleruntime commented on a change in pull request #1912: Rename master comment/constant/variable references.

milleruntime commented on a change in pull request #1912:
URL: https://github.com/apache/accumulo/pull/1912#discussion_r572092741



##########
File path: core/src/main/java/org/apache/accumulo/core/Constants.java
##########
@@ -42,11 +42,11 @@
   public static final String ZNAMESPACE_NAME = "/name";
   public static final String ZNAMESPACE_CONF = "/conf";
 
-  public static final String ZMASTERS = "/masters";
-  public static final String ZMASTER_LOCK = ZMASTERS + "/lock";
-  public static final String ZMASTER_GOAL_STATE = ZMASTERS + "/goal_state";
-  public static final String ZMASTER_REPLICATION_COORDINATOR_ADDR = ZMASTERS + "/repl_coord_addr";
-  public static final String ZMASTER_TICK = ZMASTERS + "/tick";
+  public static final String ZMANAGERS = "/masters";

Review comment:
       `SetGoalState` isn't a bad idea since I think it has to always run first. It might be worth it to put the Upgrade code in its own separate utility that an Admin has the option to manually call.




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

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