Skip to content

Conversation

@mergify
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
@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.

3 participants