mongo_upgrade_hidden_secondaries.yml
1.75 KB
-
A hidden secondaries upgrade script · 1a5c96fc
This will connect to a cluster, find the hidden secondaries and upgrade them to the current version specified in the mongo_3_0 play. This required the creation of a new library module since our two current ones return rs.status and call replSetReconfig, but neither return rs.config, and rs.config is what tells you if a host is hidden and the priority, which are needed for this.
Kevin Falcone committed