-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
116784: regionliveness: add support for sqlinstances and recovery r=fqazi a=fqazi This PR completes the regionliveness survivability goal work by implementing the following: 1. Logic to bound the sqlliveness reviewals based on the unavailable_at time set on a region 2. Updating the sqlinstance allocation logic to take into account regionliveness by working on live regions only. 3. Updating the change feed initial scan on sqlinstances to work on a per-region basis and consider region liveness. 4. Updating the sqlinstance allocation logic to recover from region failures by cleaning up system.leases, system.sqlinstances, and system.sqllivness after a failure. 5. A new roachtest focused on setting up a physical cluster and simulating failure scenarios for nightly builds. 6. A synthetic test for simulating region failures and recovery from them This PR is stacked on top of: #115568, so the first 4 commits should be ignored. informs: #103727 EPIC: CC-24173 118578: roachtest: fix typo in query_comparison_util.go r=mgartner a=mgartner Epic: None Release note: None Co-authored-by: Faizan Qazi <faizan@cockroachlabs.com> Co-authored-by: Marcus Gartner <marcus@cockroachlabs.com>
- Loading branch information
Showing
18 changed files
with
701 additions
and
123 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
Oops, something went wrong.