Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
table-store-0.1.0
Description
Currently we retain at least 1 snapshot when expiring. However consider the following scenario:
A user writes a snapshot one day ago. Today he is reading this snapshot and meanwhile writing more records. If a new snapshot is created and the reading is not finished, the old snapshot created one day ago will be removed as it exceeds maximum retaining time. This will cause the reading to fail.
We should introduce snapshot.num-retained.min to at least retain a minimum number of snapshots to avoid this problem.
Attachments
Issue Links
- links to