cockroachdb / cockroachdb/cockroach
kvserver: sep-raft-log: move TruncatedState off ReplicaState
Open
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
Assessment
This issue has not been assessed yet.