Skip to content

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
@github-actions
Copy link

github-actions bot commented Aug 7, 2025

This PR was marked as stale. Please update or close it.

@github-actions github-actions bot added the stale label Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants