Skip to content

fix: reduce lock contention and races in purger (#27146)#27193

Merged
devanbenz merged 1 commit intomain-2.xfrom
db/cherrypick-304e1ae0
Feb 5, 2026
Merged

fix: reduce lock contention and races in purger (#27146)#27193
devanbenz merged 1 commit intomain-2.xfrom
db/cherrypick-304e1ae0

Conversation

@devanbenz
Copy link
Copy Markdown

Use a sync.Map and minimize mutex sections to avoid blocking in calls to the purger

Fixes #26110

(cherry picked from commit 304e1ae)

Use a sync.Map and minimize mutex sections to avoid
blocking in calls to the purger

Fixes #26110

(cherry picked from commit 304e1ae)
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devanbenz devanbenz merged commit 124ca8f into main-2.x Feb 5, 2026
25 checks passed
@devanbenz devanbenz deleted the db/cherrypick-304e1ae0 branch February 5, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tsm area/2.x OSS 2.0 related issues and PRs kind/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[influxdb1.x/2.x]: purger code may prevent compactions from finishing [port to main-2.x]

2 participants