This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch consensus_module_refactor
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/consensus_module_refactor by
this push:
new 928adad66fa fix typo
928adad66fa is described below
commit 928adad66fa341acbf2e05363b033e8e02c6dc6e
Author: OneSizeFitQuorum <[email protected]>
AuthorDate: Tue Aug 22 23:05:53 2023 +0800
fix typo
Signed-off-by: OneSizeFitQuorum <[email protected]>
---
.../src/main/java/org/apache/iotdb/consensus/IConsensus.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/IConsensus.java
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/IConsensus.java
index 39d9bac07ec..4ee908a7af8 100644
---
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/IConsensus.java
+++
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/IConsensus.java
@@ -106,7 +106,7 @@ public interface IConsensus {
* #removeRemotePeer(ConsensusGroupId, Peer)}).
*
* @param groupId the consensus group this peer used to belong
- * @throws ConsensusGroupAlreadyExistException when the specified consensus
group doesn't exist
+ * @throws ConsensusGroupNotExistException when the specified consensus
group doesn't exist
* @throws ConsensusException when deleteLocalPeer doesn't success with
other reasons
*/
void deleteLocalPeer(ConsensusGroupId groupId) throws ConsensusException;
@@ -150,7 +150,7 @@ public interface IConsensus {
*
* @param groupId the consensus group which should execute this command
* @param newLeader the target leader peer
- * @throws ConsensusGroupAlreadyExistException when the specified consensus
group doesn't exist
+ * @throws ConsensusGroupNotExistException when the specified consensus
group doesn't exist
* @throws ConsensusException when transferLeader doesn't success with other
reasons
*/
void transferLeader(ConsensusGroupId groupId, Peer newLeader) throws
ConsensusException;