-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add commands for force failover to a region (#509)
Related to camunda/zeebe-e2e-test#421 This PR adds commands for 1. Force failover to one region `zbchaos forceFailover --regions=2 --regionId=1` * Removes region 0 and keeps the brokers from region 1 2. And adding the region back `zbchaos scale --brokers=4 --replicationFactor=4` * Re-uses the scale command, and added the parameter `replicationFactor` The commands are manually tested on a benchmark cluster. Also adds an optional `awaitReadiness` flag to `dataloss recover` command. When using the new API for failover, all brokers in the failed region must be started in parallel. Waiting for one broker to be ready before the others are started can prevent the failback from completing.
- Loading branch information
Showing
3 changed files
with
85 additions
and
20 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