etcd icon indicating copy to clipboard operation
etcd copied to clipboard

add quorum count support auto prompting from leaner to member or step back from member to learner

Open armstrongli opened this issue 2 years ago • 3 comments

What would you like to be added?

the cluster size is dynamic natively in etcd(by adding/removing members to/from existing cluster) . it also brings a challenge for etcd to continuous providing high performance request/response that the quorum keeps climing along with more and more members.

add --quorum-num=xx feature to etcd to make etcd self awaring the quorum size and make the later joined members to be learning instead of member. also, learner automatically prompt itself to be a member to guarantee the quorum to avoid the lose of availability.

Why is this needed?

etcd performance decreases when more and more members are added into cluster. e.g. 3/5 is quorum when the cluster size is 5. 5/9 is quorum when the cluster size is 9. the performance of etcd downgraded auto.

armstrongli avatar Oct 30 '23 04:10 armstrongli

@jmhbnz Can I work on this?

Can I also get some context on how you want it to be implemented if you have already something on your mind?

Catalyst-47 avatar Dec 09 '23 16:12 Catalyst-47

Hi @Catalyst-47 - Thanks for your interest in this. You're welcome to start exploring this however please be aware the etcd project are very focused on the v3.6 roadmap currently so this new feature might experience delays getting through review.

Additionally this feature might not be suitable for new contributors as it's not yet clear on the design. You're welcome to put forward a proposal just please bear in mind as mentioned above there might be delays getting feedback as this new feature is not on our v3.6 roadmap.

jmhbnz avatar Dec 09 '23 18:12 jmhbnz

sure makes sense, let me check any issue which is available on the roadmap

Catalyst-47 avatar Dec 09 '23 21:12 Catalyst-47