-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Touches #40815. I'm not calling it fixed yet because there are two remaining issues: 1. GC will not trigger automatically based on a large abort span. This means that manual intervention is needed in such a case. 2. The local key ranges are processed after the user key ranges. Even if no user keys are GC'able, all of it has to be scanned regardless (to arrive at that conclusion). With a large enough range size, this scan could theoretically consume the entirety of the time budget. However, in practice we expect operators to be able to "fix" any range via a manual GC once this PR is merged. Follow-up work needs to be done to address 1) and 2) above. Release note (bug fix): Improved the ability of garbage collection process to make process through ranges exhibiting abnormally large numbers of transaction records and/or abort span entries.
- Loading branch information
Showing
3 changed files
with
120 additions
and
37 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
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