canonical / mongodb-operator

Charmed solution for MongoDB
Apache License 2.0
12 stars 14 forks source link

[DPE-4667] check unit status before upgrade #425

Closed MiaAltieri closed 4 months ago

MiaAltieri commented 5 months ago

Issue

Pre upgrade check doesn't check if all units in the deployment are active (replica set and sharded clusters)

Solution

Add a check for individual replica set to see if all units are Active / Waiting for upgrade Add a check for config-server to verify all units in the cluster are Active / Waiting for upgrade