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:
us...@infra.apache.org


Reply via email to