Skip to content

Commit

Permalink
fix dtfile gc not working
Browse files Browse the repository at this point in the history
Signed-off-by: Wish <[email protected]>
  • Loading branch information
breezewish committed Sep 17, 2022
1 parent ea55058 commit 6e860bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ SegmentPtr DeltaMergeStore::gcTrySegmentMergeDelta(const DMContextPtr & dm_conte
compact_reason = GC::MergeDeltaReason::TooManyDeleteRange;
}

if (!should_compact && segment->isValidDataRatioChecked())
if (!should_compact && !segment->isValidDataRatioChecked())
{
if (GC::shouldCompactStableWithTooMuchDataOutOfSegmentRange(
*dm_context,
Expand Down

0 comments on commit 6e860bf

Please sign in to comment.