contrueCT commented on code in PR #7882:
URL: https://github.com/apache/incubator-seata/pull/7882#discussion_r2639892105
##########
namingserver/src/main/java/org/apache/seata/namingserver/manager/NamingManager.java:
##########
@@ -320,12 +329,9 @@ public boolean registerInstance(NamingServerNode node,
String namespace, String
clusterName, (String)
node.getMetadata().get("cluster-type")));
boolean hasChanged = clusterData.registerInstance(node, unitName);
Object mappingObj = node.getMetadata().get(CONSTANT_GROUP);
- // if extended metadata includes vgroup mapping relationship, add
it in clusterData
if (mappingObj instanceof Map) {
Map<String, String> vGroups = (Map<String, String>) mappingObj;
vGroups.forEach((k, v) -> {
- // In non-raft mode, a unit is one-to-one with a node, and
the unitName is stored on the node.
Review Comment:
Sorry, it just a mistake, i will restore it.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]