-
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.
130064: upgrade: dynamically adjust batch size for automatic descriptor repair r=fqazi a=fqazi Previously, an upgrade was added to repair any descriptor corruptions detected. The defaults for this upgrade attempted to fix 1,000 descriptors within a transaction. This could end up failing with retry errors if the batch encountered any competing high-priority transactions like leasing. To address this, this patch dynamically adjusts the batch size either when excessive retries are observed or the batch of updates takes too long. Once the batch is small enough, only high-priority transactions are used. Fixes: #129949 Release note (bug fix): Addressed a bug in the upgrade pre-condition for repairing descriptor corruption, which could lead to finalization being stuck Co-authored-by: Faizan Qazi <[email protected]>
- Loading branch information
Showing
3 changed files
with
268 additions
and
28 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.