Skip to content

Fix inner compaction select task base on mod file#11654

Merged
xingtanzjr merged 1 commit intoapache:masterfrom
shuwenwei:fixInnerCompactionSelectTaskBaseOnModFile
Dec 5, 2023
Merged

Fix inner compaction select task base on mod file#11654
xingtanzjr merged 1 commit intoapache:masterfrom
shuwenwei:fixInnerCompactionSelectTaskBaseOnModFile

Conversation

@shuwenwei
Copy link
Member

@shuwenwei shuwenwei commented Dec 1, 2023

Description

Fix a bug that the TsFileResource whose status is not NORMAL may be selected by selectTaskBaseOnModFile.
Though a tsfile with a mods file whose size is larger than 50M has been selected into a CompactionTask (or other status: COMPACTING, DELETED), it may selected as candidate of another compaction task by 'selectTaskBaseOnModFile'.

@xingtanzjr xingtanzjr merged commit b232fcf into apache:master Dec 5, 2023
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.

3 participants