Skip to content

[server] Keep snapshot metrics safe during cleanup - #4089

Merged
platinumhamburg merged 2 commits into
apache:mainfrom
platinumhamburg:bug-stale-snapshot-metric-red
Sep 4, 2026
Merged

[server] Keep snapshot metrics safe during cleanup#4089
platinumhamburg merged 2 commits into
apache:mainfrom
platinumhamburg:bug-stale-snapshot-metric-red

Conversation

@platinumhamburg

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #4088

Brief change log

Tests

API and Format

Documentation

@platinumhamburg
platinumhamburg force-pushed the bug-stale-snapshot-metric-red branch from 712ac60 to 7108eb2 Compare August 25, 2026 01:34
@platinumhamburg
platinumhamburg force-pushed the bug-stale-snapshot-metric-red branch from 7108eb2 to 22ca7e7 Compare August 25, 2026 01:51

@Jackeyzhe Jackeyzhe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The fix looks good to me. The new test covers both the cleanup failure and the
in-flight gauge collection case for dropping a partition.

Since the production change also reorders metric cleanup in processDropTable,
would it be worth adding the corresponding table-drop failure coverage as well?
This is non-blocking since the two paths are currently symmetric.

@platinumhamburg
platinumhamburg merged commit 44e1cdd into apache:main Sep 4, 2026
20 checks passed
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.

[Bug] Coordinator metrics can stop reporting after failed partition cleanup

2 participants