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

rac2: introduce log storage tracker #129751

Merged
merged 1 commit into from
Sep 3, 2024

Commits on Sep 3, 2024

  1. rac2: introduce log storage tracker

    This commit introduces the data structure that observes all raft log
    storage writes, syncs and logical admissions, and tracks the
    stable/admitted log state correspondingly.
    
    Log writes are ordered by leader term, then by index. Log writes have no
    gaps, except when a snapshot clears the log. All writes/syncs must be
    registered. Admissions can be registered selectively, for entries that
    are subject to RACv2.
    
    Epic: CRDB-37515
    Release note: none
    pav-kv committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    cf19314 View commit details
    Browse the repository at this point in the history