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

etcd peer discovery fixes (backport #11439) #11445

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 12, 2024

Instead of relying on the complex and non-determinstic default node
selection mechanism inside peer discovery this change makes the
etcd backend implemention make the leader selection itself based on
the etcd create_revision of each entry. Although not spelled out anywhere
explicitly is likely that a property called "Create Revision" is going
to remain consistent throughout the lifetime of the etcd key.

Either way this is likely to be an improvement on the current approach.


This is an automatic backport of pull request #11439 done by Mergify.

Instead of relying on the complex and non-determinstic default node
selection mechanism inside peer discovery this change makes the
etcd backend implemention make the leader selection itself based on
the etcd create_revision of each entry. Although not spelled out anywhere
explicitly is likely that a property called "Create Revision" is going
to remain consistent throughout the lifetime of the etcd key.

Either way this is likely to be an improvement on the current approach.

(cherry picked from commit 3390fc9)
As the primary mirror may sometimes fail there is now a fall back.

(cherry picked from commit 5a94049)
@mergify mergify bot mentioned this pull request Jun 12, 2024
@michaelklishin michaelklishin added this to the 3.13.4 milestone Jun 12, 2024
@michaelklishin michaelklishin merged commit ea326c3 into v3.13.x Jun 12, 2024
84 of 92 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v3.13.x/pr-11439 branch June 12, 2024 22:19
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.

2 participants