Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[To rel/1.0][IOTDB-5093]Fix compaction selector bug #8267

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

choubenson
Copy link
Contributor

Description
target file overlap with previous file 

Reason
In the process of getting the file list and starting to select files, the file list is updated (the file is deleted or the status is updated). When a seq file is occupied and deleted by other compaction thread, and it happens to select files in cross space compaction, the deleted file will be filtered out, resulting in an overlap target file.

Solution
Do not filter out any seq files before selecting the files. After selecting the files, judge whether the seq files have been deleted or being compacted. If there are any, the task will be discarded.

@choubenson choubenson changed the title [IOTDB-5093]Fix compaction selector bug [To rel/1.0][IOTDB-5093]Fix compaction selector bug Nov 30, 2022
@THUMarkLau THUMarkLau merged commit 41ba0f2 into apache:rel/1.0 Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants