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

Support new joiner functionality #543

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Support new joiner functionality #543

merged 1 commit into from
Oct 15, 2024

Conversation

greensky00
Copy link
Contributor

  • A new setting, use_new_joiner_type_, has been introduced, which defaults to false.

  • When activated, any new members are immediately added to the cluster configuration as a "new joiner." Similar to learners, new joiners do not participate in the quorum; they cannot initiate or partake in voting.

  • Once the log gap of a new joiner narrows to less than log_sync_stop_gap_, the member transitions to a regular status and becomes eligible to engage in the leader election process.

  • The advantage of this feature is that it allows a newly elected leader to continue the synchronization process with the new joiner without needing to invoke the add_srv() API again.

* A new setting, `use_new_joiner_type_`, has been introduced, which
defaults to false.

* When activated, any new members are immediately added to the cluster
configuration as a "new joiner." Similar to learners, new joiners do
not participate in the quorum; they cannot initiate or partake in voting.

* Once the log gap of a new joiner narrows to less than
`log_sync_stop_gap_`, the member transitions to a regular status and
becomes eligible to engage in the leader election process.

* The advantage of this feature is that it allows a newly elected leader
to continue the synchronization process with the new joiner without
needing to invoke the `add_srv()` API again.
@greensky00 greensky00 merged commit 1adcc62 into eBay:master Oct 15, 2024
1 check passed
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.

1 participant