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 2021/07/14 08:16:13 UTC
[GitHub] [iotdb] zhanglingzhe0820 opened a new pull request #3568: [IoTDB-1501][To rel/0.12] Fix compaction recover delete tsfile bug
zhanglingzhe0820 opened a new pull request #3568:
URL: https://github.com/apache/iotdb/pull/3568
## Problem
In compaction process, these operations process like below
1. close the target file
2. delete source file
3. delete compaction log
In compaction recover process, these operations process like below
1. add file to recover list if it is open
2. find target file in recover list is compaction log exists
3. if the target file cannot be found the recover failed
So if system break between step 2 and 3. The recover will fail.
## Solution
Find tsfile both in recover list and resource list.
--
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] qiaojialin merged pull request #3568: [IoTDB-1501][To rel/0.12] Fix compaction recover delete tsfile bug
Posted by GitBox <gi...@apache.org>.
qiaojialin merged pull request #3568:
URL: https://github.com/apache/iotdb/pull/3568
--
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