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: When a Leader starts up, it should re-apply all logs #1247

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Sep 13, 2024

Changelog

Fix: When a Leader starts up, it should re-apply all logs

When a node starts up as the Leader, it now re-applies all logs at once.

Previously:

  • New Leader only updated IO progress
  • Committed log ID remained unchanged

Now:


This change is Reviewable

When a node starts up as the Leader, it now re-applies all logs at once.

Previously:
- New Leader only updated IO progress
- Committed log ID remained unchanged

Now:
- New Leader updates IO progress
- Triggers update of committed log ID

- Fix: databendlabs#1246
@drmingdrmer drmingdrmer merged commit 681d04d into databendlabs:main Sep 13, 2024
32 of 33 checks passed
@drmingdrmer drmingdrmer deleted the 155-fix-1246 branch September 13, 2024 05:34
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.

Missing log replay on single-node restart (bug?)
1 participant