You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2022/08/08 01:54:00 UTC

[jira] [Created] (IOTDB-4051) NodeId Duplicated

Chao Wang created IOTDB-4051:
--------------------------------

             Summary: NodeId Duplicated
                 Key: IOTDB-4051
                 URL: https://issues.apache.org/jira/browse/IOTDB-4051
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Cluster
            Reporter: Chao Wang
            Assignee: Chao Wang
             Fix For: 0.14.0


nextNodeId have Duplicated.

If the leader switchover occurs on the confignode, and the remove and add operations are performed, duplicate node IDs occur.

because "nextNodeId.set(info.getLocation().getDataNodeId());",  follwer set nodeid,  

generateNextNodeId will use the same id.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)