does anybody know an option to identify from mongos if all shard replicaSet members in sharded cluster are alive ?
I can check for example what are the configured non-hidden members with:
sh.status()
But , I dont know how to check if all shard members are alive and electable and I dont want to access to all replicaSet's individually (imagine if I have 100 shards , I dont want to execute 100 times rs.status() , is there any such option and what is the best practice for this?
Thanks