meatballspaghetti commented on code in PR #4996:
URL: https://github.com/apache/accumulo/pull/4996#discussion_r1817400443


##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/namespace/rename/RenameNamespace.java:
##########
@@ -63,19 +65,23 @@ public Repo<Manager> call(FateId fateId, Manager manager) 
throws Exception {
       Utils.checkNamespaceDoesNotExist(manager.getContext(), newName, 
namespaceId,
           TableOperation.RENAME);
 
-      final String tap = manager.getZooKeeperRoot() + Constants.ZNAMESPACES + 
"/" + namespaceId
-          + Constants.ZNAMESPACE_NAME;
+      final String tap = manager.getZooKeeperRoot() + Constants.ZNAMESPACES;
+
+      final String currentNamespaceName =
+          Namespaces.getNamespaceName(manager.getContext(), namespaceId);
+      final byte[] updatedNamespaceMap =

Review Comment:
   Updated to correct use of mutateExisting. Will address checking 
already-existing namespace name in near future commit.



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