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


##########
server/src/main/java/org/apache/iotdb/db/service/DataNode.java:
##########
@@ -316,6 +315,7 @@ private void setUp() throws StartupException, 
QueryProcessException {
     registerManager.register(RegionMigrateService.getInstance());
 
     registerManager.register(MetricService.getInstance());
+    registerManager.register(CompactionTaskManager.getInstance());

Review Comment:
   As we change the sequence of invoking `CompactionTaskManager.getInstance()`, 
why do we need to add the variable `init` inside the class ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to