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

Upon startup, a node that is leader should restore local log progress and re-apply log entries if it is single node cluster #883

Closed
Tracked by #881
drmingdrmer opened this issue Jun 29, 2023 · 1 comment · Fixed by #884

Comments

@drmingdrmer
Copy link
Member

drmingdrmer commented Jun 29, 2023

A node that is leader will continue being in leader state when restarted.
As a leader, the replication progress to itself can be restored.

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

@github-actions
Copy link

👋 Thanks for opening this issue!

Get help or engage by:

  • /help : to print help messages.
  • /assignme : to assign this issue to you.

@drmingdrmer drmingdrmer changed the title A node that is leader should re-apply all log entries upon startup. Upon startup, a node that is leader should restore local log progress and re-apply log entries if it is single node cluster Jun 29, 2023
drmingdrmer added a commit to drmingdrmer/openraft that referenced this issue Jun 29, 2023
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 issue Jun 29, 2023
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 that referenced this issue Jun 29, 2023
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: #883
drmingdrmer added a commit to drmingdrmer/openraft that referenced this issue 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 issue 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
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 a pull request may close this issue.

1 participant