THUMarkLau opened a new pull request #4457:
URL: https://github.com/apache/iotdb/pull/4457


   # Description
   In the process of IoTDB running, the compaction thread sometimes throws 
`IOException: Stream Closed`.
   # Cause
   Before the compaction task is executed, it will be temporarily stored in the 
cache queue of the CompactionTaskManager. Before joining the compaction queue, 
we will judge whether there are the same compaction tasks in the queue to avoid 
duplication. But if a task is being executed in the thread pool, at this time 
an identical compaction task may be allowed to be submitted to the queue 
(because the same task does not exist in the queue). Therefore, a compaction 
task may be executed at the same time.


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