You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/09/30 03:31:50 UTC

[GitHub] [iotdb] yifuzhou commented on a diff in pull request #7490: [IOTDB-4554] Start compaction only when IoTDB is fully recovered

yifuzhou commented on code in PR #7490:
URL: https://github.com/apache/iotdb/pull/7490#discussion_r984178493


##########
server/src/main/java/org/apache/iotdb/db/service/DataNode.java:
##########
@@ -250,6 +252,7 @@ private void active() throws StartupException {
       logger.error("Meet error while starting up.", e);
       throw new StartupException("Error in activating IoTDB DataNode.");
     }
+    activated = true;

Review Comment:
   It seems that activated cannot turn false when deactivate the datanode.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org