Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORE-5632] cluster: Reset cloud storage metric in the cluster::partition::remove_persistent_state #21581

Merged
merged 1 commit into from
Jul 24, 2024

Commits on Jul 24, 2024

  1. cluster: Reset cloud storage metric...

    ... in the partition::remove_persistent state. The probe has access to
    the global state so it's not safe to keep it after the partition is
    stopped and `remove_persistent_state` method is invoked. In cases when
    the partition is recreated with different revision id the 'double metric
    registration' error could be triggered.
    
    The double metric registration exception prevents normal parittion
    removal and subsequent partition creation may trigger assertion.
    Lazin committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    51af1b4 View commit details
    Browse the repository at this point in the history