liyuheng55555 commented on code in PR #14814:
URL: https://github.com/apache/iotdb/pull/14814#discussion_r1955746320


##########
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/logdispatcher/LogDispatcher.java:
##########
@@ -98,7 +98,13 @@ private void initLogSyncThreadPool() {
 
   public synchronized void start() {
     if (!threads.isEmpty()) {
-      threads.forEach(executorService::submit);
+      threads.stream()

Review Comment:
   Added an parameter to control whether whether sync log channel start or 
"just build without start". 
   
   In this way, IoTV1 and IoTV2 are quite similar :)



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