kvserver: reads during replica removal can return empty results #64325
Labels
A-kv-replication
Relating to Raft, consensus, and coordination.
branch-release-20.1
Used to mark GA and release blockers, technical advisories, and bugs for 20.1
branch-release-20.2
Used to mark GA and release blockers, technical advisories, and bugs for 20.2
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
C-technical-advisory
Caused a technical advisory
S-0-visible-logical-error
Database stores inconsistent data in some cases, or queries return invalid results silently.
Read requests submitted during replica removal may be evaluated on the removed replica, returning empty results. This was discovered when restoring a backup did not recover all of the data -- an entire range was missing. This was caused by the export request racing with a range merge and replica removal, where the export request was evaluated on the removed (empty) replica, returning an empty result and omitting the range from the backup.
The text was updated successfully, but these errors were encountered: