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

Refactor: linearizable-read use noop_log_id as the first log proposed by current leader #1083

Merged
merged 2 commits into from
Mar 24, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Mar 24, 2024

Changelog

Refactor: linearizable-read use noop_log_id as the first log proposed by current leader
Refactor: add noop_log_id to Leading

When a leader established, store the first log id in struct Leading,
i.e., the noop log id.

This log id can be used for linearizable read.


This change is Reviewable

When a leader established, store the first log id in struct `Leading`,
i.e., the noop log id.

This log id can be used for linearizable read.
@drmingdrmer drmingdrmer merged commit 519ffa6 into databendlabs:main Mar 24, 2024
30 of 31 checks passed
@drmingdrmer drmingdrmer deleted the 61-store-noop branch March 24, 2024 14:32
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