-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-15297][dr] GET /configs fails with java.lang.IllegalStateExcept…
…ion: DrConfig iTest-dr(uuid) does not have any corresponding xCluster config Summary: This diff moves the delete DR config entry to a transaction with deleting the last xCluster config entry of that DR config. It also removes `XClusterConfigTaskBase.getTableInfoList(ybService, sourceUniverse);` from the failover controller. Test Plan: - Made sure a failover task succeeds when the source universe is down. - Made sure the DR config is deleted properly when the source universe is deleted even when the dr config has two xCluster config entries. Reviewers: #yba-api-review!, vbansal, cwang, jmak, sanketh Reviewed By: vbansal Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38151
- Loading branch information
1 parent
6b34652
commit 6dcfce6
Showing
5 changed files
with
29 additions
and
11 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
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