-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Issue Sharded deployments do not support preflight check ## Preflight checks added **Both Config-Server and Shards check** 1. Ensure cluster is not running backup / tls actions [Config-Serve 2. Health check - For shards and config servers, ensure that no node is in the ROLLBACK or RECOVERING state. 3. Move Primary for Config Server to the unit with the lowest id 4. make a dummy write to each shard (and read from each replica) to ensure the MongoDB cluster works. **Config Server only:** 1. check feature compatibility version on all nodes 2. set Feature Compatibility Version for mongos 3. Disable the balancer 4. Set status waiting for refresh command ## Preflight checks NOT added 1. Check juju unit state for all units via shared interface with the usage of “goal_state” 2. Backup the config Database 1. Will be done in a future PR 2. Will not be performed, instead we will instruct users to perform a backup
- Loading branch information
1 parent
b653333
commit 0328543
Showing
6 changed files
with
288 additions
and
47 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
Oops, something went wrong.