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

Fix: restore replication progress when a leader starts up #884

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Jun 29, 2023

Changelog

Fix: restore replication progress when a leader starts up

As a leader, the replication progress to itself should be restored upon
startup.

And if this leader is the only node in a cluster, it should re-apply all
of the logs to state machine at once.


This change is Reviewable

As a leader, the replication progress to itself should be restored upon
startup.

And if this leader is the only node in a cluster, it should re-apply all
of the logs to state machine at once.

- Fix: datafuselabs#883
@drmingdrmer drmingdrmer merged commit 86b46a0 into datafuselabs:main Jun 29, 2023
22 checks passed
@drmingdrmer drmingdrmer deleted the 44-restarted-leader branch June 29, 2023 09:01
drmingdrmer added a commit to drmingdrmer/openraft that referenced this pull request Nov 28, 2023
…bs#884)

As a leader, the replication progress to itself should be restored upon
startup.

And if this leader is the only node in a cluster, it should re-apply all
of the logs to state machine at once.

- Fix: datafuselabs#883
drmingdrmer added a commit to drmingdrmer/openraft that referenced this pull request Nov 28, 2023
…bs#884)

As a leader, the replication progress to itself should be restored upon
startup.

And if this leader is the only node in a cluster, it should re-apply all
of the logs to state machine at once.

- Fix: datafuselabs#883
@drmingdrmer drmingdrmer mentioned this pull request Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant