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/12/29 10:50:09 UTC

[GitHub] [iotdb] choubenson opened a new pull request, #8668: [IOTDB-5311]Fix RunTimeException and NoSuchFile Exception when selecting files causing compaction scheduled thread to get stuck

choubenson opened a new pull request, #8668:
URL: https://github.com/apache/iotdb/pull/8668

   **Description**
   The process of compaction selecting files may throws No Such File exception and RunTimeException, causing compaction schedule thread to get stuck.
   
   **Reason**
   The process of selecting file does not add read locks of the source files. Assuming that the file was not deleted at the moment the deleted file was filtered, but was later deleted, No such file exception would be thrown when the reader for the file was built, and a RunTimeException would be thrown when the state was set to CompactionCandidate. Among them, the fix scheduled thread of compaction stops on 0.13, but not on master and 1.0.
   
   **Solution**
   Do an exception catch in compaction schedule method.
   When building a reader for a file, throw IOException instead of NPE if the file does not exist.


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


[GitHub] [iotdb] THUMarkLau merged pull request #8668: [IOTDB-5311]Fix RunTimeException and NoSuchFile Exception when selecting files causing compaction scheduled thread to get stuck

Posted by GitBox <gi...@apache.org>.
THUMarkLau merged PR #8668:
URL: https://github.com/apache/iotdb/pull/8668


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