-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libroach,storage: extend MVCC to support ignored seqnum ranges
The MVCC code already had rudimentary understanding of sequence numbers to allow reads to ignore writes at greater seqnums. To implement SQL savepoint rollbacks, we must also support ignoring writes that fall in ignored ranges of seqnums. To achieve this, this commit extends the `mvccScanner` for RocksDB (Pebble code remains to be done) to account for ignored seqnum ranges, and also extends `MVCCResolveWriteIntent` to collapse an intent to the last write that has not been marked to be ignored by a savepoint rollback. Release note: None
- Loading branch information
Showing
44 changed files
with
3,504 additions
and
1,237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.