-
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-16468] Both instances can go into standby if sync happens from …
…the demoted peer right after promotion Summary: This fixes the original issue + more robustness + cleanup to remove deprecated methods as much as possible. Test Plan: 1. Modified code to run sync right after demotion. Demotion works fine. 2. Shutdown the active. Make the standby active forcefully. Start the old active YBA. After the next sync in the background,the old YBA transitions to standby. Will be testing more scenarios. This diff is deployed on https://10.9.121.30/ and https://10.9.89.26/ Reviewers: muthu, nbhatia, dshubin Reviewed By: muthu Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D41266
- Loading branch information
Showing
15 changed files
with
598 additions
and
374 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.