forked from cockroachdb/cockroach
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see cockroachdb#2062. on each run of the GC queue for a given range, the transaction and sequence prefixes are scanned and the following actions taken: * old pending transactions are pushed (which will succeed), effectively aborting them * old aborted transactions are added to the GC request. * aborted and committed transactions will have the intents referenced in their record resolved synchronously and are GCed (on success) * sequence cache entries which are "old" and belong to "old" (or nonexistent) transactions are deleted.
- Loading branch information
Showing
11 changed files
with
390 additions
and
265 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.