tkhurana commented on code in PR #2397:
URL: https://github.com/apache/phoenix/pull/2397#discussion_r3061710883


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixHAAdminTool.java:
##########
@@ -780,6 +817,168 @@ private int executeGetClusterRoleRecord(String[] args) 
throws Exception {
     }
   }
 
+  /**
+   * Creates a new HA group entry in SYSTEM.HA_GROUP. Idempotent: if the group 
already exists,
+   * prints a skip message and returns success without modifying the existing 
row. The ZK znode is
+   * initialized automatically on first access by HAGroupStoreClient. Run the 
same command on both
+   * clusters.
+   */

Review Comment:
   Can we expose this method as an API also ? It will be useful from a test 
perspective.



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