This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 34524ba5db [IOTDB-4920] Fixed the bug that show cluster returns wrong
answer
34524ba5db is described below
commit 34524ba5dbe6d65a9180718331d906675545b1ed
Author: Caideyipi <[email protected]>
AuthorDate: Mon Nov 14 15:35:04 2022 +0800
[IOTDB-4920] Fixed the bug that show cluster returns wrong answer
---
.../src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
b/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
index b9b90a8a0f..7421412955 100644
--- a/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
+++ b/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
@@ -306,6 +306,7 @@ public class CommonConfig {
public void setNodeStatus(NodeStatus newStatus) {
logger.info("Set system mode from {} to {}.", status, newStatus);
this.status = newStatus;
+ this.statusReason = null;
switch (newStatus) {
case ReadOnly: