Song Ziyang created IOTDB-4611: ---------------------------------- Summary: Guarantee AddPeer & CreatePeer semantic for RatisConsensus Key: IOTDB-4611 URL: https://issues.apache.org/jira/browse/IOTDB-4611 Project: Apache IoTDB Issue Type: Improvement Reporter: Song Ziyang Assignee: Song Ziyang
Currently, when we need to add a new member, we first has to call CreatePeer to initialize and the AddPeer for configuration change. However, Ratis (and Raft) recommends to first call AddPeer asynchronously and then call CreatePeer. If we do not follow this order, we may face SHUTDOWN issues. -- This message was sent by Atlassian Jira (v8.20.10#820010)