-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kvserver: sep-raft-log: add reconciliation logic for SST ingestion #93244
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV TeamKV Team
Description
An ill-timed crash may lead to an AddSST command at raft log index N being visible in the LSM but the state machine not having advanced to N yet. We need to reconcile this at Store.Start time (before any raft processing happens), by applying such commands. We need to make sure that it is always possible to apply such commands standalone, i.e. we need to have the fact that this command is committed durable before we ever attempt to apply it in the first place.
Epic: CRDB-220
Jira issue: CRDB-22237
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV TeamKV Team