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 2022/03/07 12:41:55 UTC

[GitHub] [iotdb] THUMarkLau commented on a change in pull request #5170: [IOTDB-2651] Fix write performance deteriorates severely

THUMarkLau commented on a change in pull request #5170:
URL: https://github.com/apache/iotdb/pull/5170#discussion_r820667301



##########
File path: server/src/main/java/org/apache/iotdb/db/engine/compaction/CompactionTaskManager.java
##########
@@ -238,7 +239,8 @@ public synchronized void submitTaskFromTaskQueue() {
     try {
       while (currentTaskNum.get()
               < IoTDBDescriptor.getInstance().getConfig().getConcurrentCompactionThread()
-          && !candidateCompactionTaskQueue.isEmpty()) {
+          && !candidateCompactionTaskQueue.isEmpty()
+          && candidateCompactionTaskQueue.toString() != null) {

Review comment:
       This is a debug statement so that I can get  the return value of this statement through arthas. I will remove this statement later.




-- 
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: reviews-unsubscribe@iotdb.apache.org

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