jt2594838 commented on a change in pull request #258: [IOTDB-143]Development of 
merge
URL: https://github.com/apache/incubator-iotdb/pull/258#discussion_r307677023
 
 

 ##########
 File path: server/src/main/java/org/apache/iotdb/db/service/IoTDB.java
 ##########
 @@ -97,6 +98,7 @@ private void setUp() throws StartupException {
     registerManager.register(Measurement.INSTANCE);
     registerManager.register(SyncServerManager.getInstance());
     registerManager.register(TVListAllocator.getInstance());
+    registerManager.register(MergeManager.getINSTANCE());
 
 Review comment:
   It's okay since RecoverMergeTasks are not submitted to the MergeManager, 
they are done synchronously instead. Imagine, if the timed merge task is 
triggered before the StorageEngine is set up, things will become a mess.

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


With regards,
Apache Git Services

Reply via email to