Skip to content

compaction: fix infinite loop#590

Merged
kjnilsson merged 1 commit intomainfrom
fix-infinte-loop
Mar 13, 2026
Merged

compaction: fix infinite loop#590
kjnilsson merged 1 commit intomainfrom
fix-infinte-loop

Conversation

@mkuratczyk
Copy link
Copy Markdown
Contributor

When a segment qualified for compaction (had < 50% live entries or data) but its live_size exceeded max_size (or NumLive exceeded max_count), and no segments have been accumulated yet, the function returned {[], All} where All still contains the problematic segment.

When a segment qualified for compaction (had < 50% live entries or data)
but its live_size exceeded max_size (or NumLive exceeded max_count), and
no segments have been accumulated yet, the function returned
{[], All} where All still contains the problematic segment.
@kjnilsson kjnilsson merged commit 7d933d6 into main Mar 13, 2026
7 checks passed
@michaelklishin michaelklishin added this to the 3.0.2 milestone Mar 13, 2026
@dumbbell-rabbitmq dumbbell-rabbitmq deleted the fix-infinte-loop branch March 23, 2026 14:54
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