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

   ## Description
   Fix concurrent load and compaction.
   If a TsFileResource is added in TsFileManager first, then compaction module 
can get this resource through TsFileManager. However, at this time the actual 
file `tsFileToLoad` has not been moved in disk. This pr modify the initial 
TsFileResourceStatus of tsFileToLoad from `NORMAL` to `UNCLOSED`, and the 
TsFileResourceStatus of it will be set to `NORMAL` after all file is prepared.


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