Skip to content

fix assertion about chunks and free space bits always being in sync#4301

Merged
andreitokar merged 1 commit intomasterfrom
issue_4048
Nov 3, 2025
Merged

fix assertion about chunks and free space bits always being in sync#4301
andreitokar merged 1 commit intomasterfrom
issue_4048

Conversation

@andreitokar
Copy link
Contributor

@andreitokar andreitokar commented Nov 2, 2025

Fixes #4048
Assertion became faulty when asynchronous chunk creation/save pipeline was introduced.
If this check coincide with dropUnusedChuncks() call, chunks may be removed from the chunks map, but not from freespace BitSet yet.

@andreitokar andreitokar merged commit 8cb2827 into master Nov 3, 2025
6 of 8 checks passed
@andreitokar andreitokar deleted the issue_4048 branch November 3, 2025 00:43
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.

Assertion error in shrinkStoreIfPossible

1 participant