cockroachdb / cockroachdb/cockroach

kvserver: sep-raft-log: move TruncatedState off ReplicaState

Open
#97,613 2 comments 0 reactions 1 assignee Claimed by @pav-kv View on GitHub
C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The truncated state is currently a part of `ReplicaState`. Fields in this proto correspond to replicated state (i.e. state that is updated through the raft log). This ceases to be true when the separated raft log is introduced, as the truncated state resides on the raft log engine and we'll use loosely coupled log truncations[^1].

[^1]: https://github.com/cockroachdb/cockroach/issues/93248

Jira issue: CRDB-24787

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.