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

Add a system workflow to manage config #7570

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Apr 4, 2025

What changed?

Add a system workflwo to manage config

Why?

If the failover version never used, we can update the failover version increment. We should consider add a logic to check the namespace failover history.

How did you test it?

local test

Potential risks

Documentation

Is hotfix candidate?

@yux0 yux0 requested review from hehaifengcn and pglass April 4, 2025 18:09
@yux0 yux0 requested a review from a team as a code owner April 4, 2025 18:09
}

metadata.FailoverVersionIncrement = input.NewFVI
applied, err := a.clusterMetadataManager.SaveClusterMetadata(ctx, &persistence.SaveClusterMetadataRequest{
Copy link
Contributor

Choose a reason for hiding this comment

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

any potential race here (say cluster meta is changed by something else at the same time)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no. It is protected by the version.

@hehaifengcn hehaifengcn changed the title Add a system workflwo to manage config Add a system workflow to manage config Apr 4, 2025
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.

3 participants