-
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.
134654: upgrade: corrupt descriptor repair does not handle GC timestamp errors r=fqazi a=fqazi When detecting corrupt descriptors during an upgrade, we use an AOST query. While this works effectively in the production environment, in test environments, the batch timestamp can be too far in the past. This problem occurs because certain tests (declarative_schema_changer/job-compatibility-mixed-version-V242-V243) intentionally use short garbage collection TTL's, which can cause this logic to fail. To address this, this patch disables the AOST when a BatchTimestampBeforeGCError occurs. Fixes: #134024 Release note: None Co-authored-by: Faizan Qazi <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
8 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