Xinyu Tan created IOTDB-3167: -------------------------------- Summary: Add wait_leader_ready logic for RatisConsensus Key: IOTDB-3167 URL: https://issues.apache.org/jira/browse/IOTDB-3167 Project: Apache IoTDB Issue Type: Improvement Reporter: Xinyu Tan Assignee: Xinyu Tan
In the Ratis implementation, the new leader needs to commit a log with the latest configuration to commit the operations of the previous term. Before the log is applied, even though the node is the leader, the write may still fail, so we need to add blocking wait logic. -- This message was sent by Atlassian Jira (v8.20.7#820007)