backupccl,kv: incorrect historical reads on RESTOREd tables #53044
Labels
A-disaster-recovery
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
docs-done
docs-known-limitation
T-disaster-recovery
Historical reads to before the SST was applied may be meaningless after SST application. For example, if RESTORE is used to RESTORE a table to 10:57, it is incorrect to allow a read (or backup) of that table to 10:56, or for a
revision_history
backup of that table at 10:59 to claim a revision_start_time of < 10:57.I'm not quite sure what the fallout would be to forward gcthreshold to now on every ingest would be, since you could RESTORE a table to 1057 but that ingest might take an hour. Maybe the AddSST request should optionally carry the revision time to forward to?
Epic CRDB-8816
The text was updated successfully, but these errors were encountered: