[fix](deploy) fix deploy manager can't drop node (#23667)
This commit is contained in:
@ -999,7 +999,7 @@ public class Env {
|
||||
// For compatibility. Because this is the very first time to start, so we arbitrarily choose
|
||||
// a new name for this node
|
||||
role = FrontendNodeType.FOLLOWER;
|
||||
nodeName = genFeNodeName(selfNode.getIdent(),
|
||||
nodeName = genFeNodeName(selfNode.getHost(),
|
||||
selfNode.getPort(), false /* new style */);
|
||||
storage.writeFrontendRoleAndNodeName(role, nodeName);
|
||||
LOG.info("very first time to start this node. role: {}, node name: {}", role.name(), nodeName);
|
||||
|
||||
@ -105,7 +105,7 @@ public class SystemInfoService {
|
||||
}
|
||||
|
||||
public String getIdent() {
|
||||
return host;
|
||||
return host + "_" + port;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user