Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A checkpoint is a point in a transaction where every write occurs after the checkpoint may not be visible by the transaction.
The visibility is defined by the following visibility levels:
SNAPSHOT - returns the last written key by the transaction, in case one exists, otherwise, returns the key from the transaction snapshot.
SNAPSHOT_EXCLUDE_CURRENT - returns the last written key by the transaction that was written before the last checkpoint, in case one exists, otherwise, returns the key from the transaction snapshot.
SNAPSHOT_ALL - returns all the versions written by the transaction including the one in the transaction snapshot.
This feature is needed for Phoenix both for upsert operations and for correct rollback of the secondary index on transaction abort.
Explanations for this feature can be seen in TEPHRA-96.
Attachments
Issue Links
- links to