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

Backport upstream #16997 #565

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Backport upstream #16997 #565

merged 1 commit into from
Nov 26, 2024

Conversation

ejortegau
Copy link
Collaborator

@ejortegau ejortegau commented Nov 22, 2024

This backports vitessio#16997 to our fork's v15 branch. The information
below corresponds to what is recorded on the upstream PR:

Description

This PR changes ERS and PRS so that they prefer not promoting hosts that are currently taking backups.

The implementation follows what was suggesteed in the RFC of the issue (link below). Namely, the RPCs used to get information about candidates now include an extra field indicating whether they are running backups or not; and that is
used to order the list of promotion candidates.

Related Issue(s)

vitessio#16558

Checklist

  • "Backport to:" labels have been added if this change should be back-ported to release branches
  • If this change is to be back-ported to previous releases, a justification is included in the PR description
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on CI?
  • Documentation was added or is not required

Deployment Notes

N/A

Signed-off-by: Eduardo J. Ortega U. <[email protected]>
@github-actions github-actions bot added this to the v15.0.5 milestone Nov 22, 2024
@ejortegau ejortegau marked this pull request as ready for review November 22, 2024 14:41
@ejortegau ejortegau requested a review from a team as a code owner November 22, 2024 14:41
@ejortegau ejortegau merged commit f75d407 into slack-15.0 Nov 26, 2024
201 checks passed
@ejortegau ejortegau deleted the slack-15.0-backport-16997 branch November 26, 2024 11:07
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