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 2020/06/18 13:40:56 UTC

[GitHub] [incubator-iotdb] HTHou commented on a change in pull request #1289: Add force stop storage engine interface

HTHou commented on a change in pull request #1289:
URL: https://github.com/apache/incubator-iotdb/pull/1289#discussion_r442233884



##########
File path: server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
##########
@@ -176,6 +176,7 @@ public synchronized void init() {
     try {
       tagLogFile = new TagLogFile(config.getSchemaDir(), MetadataConstant.TAG_LOG);
 
+      isRecovering = true;

Review comment:
       Actually, when close and restart the IoTDB using API, we don't get a new Instance of MManager. If I didn't set `isRecovering = true` here, the value of `isRecovering` would be null.  




----------------------------------------------------------------
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.

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