Skip to content

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

Merged
davidby-influx merged 1 commit into1.12from
DSB/purger_lock_1.12
Jan 30, 2026
Merged

fix: reduce lock contention and races in purger (#27146)#27177
davidby-influx merged 1 commit into1.12from
DSB/purger_lock_1.12

Conversation

@davidby-influx
Copy link
Copy Markdown
Contributor

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

Fixes #26110

(cherry picked from commit 304e1ae)

Fixes #27175

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

Fixes #26110

(cherry picked from commit 304e1ae)

Fixes #27175
Copy link
Copy Markdown

@devanbenz devanbenz left a comment

Choose a reason for hiding this comment

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

LGTM clean cherrypick

@davidby-influx davidby-influx merged commit d5a48e0 into 1.12 Jan 30, 2026
9 checks passed
@davidby-influx davidby-influx deleted the DSB/purger_lock_1.12 branch January 30, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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 1.12]

2 participants