-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There are some cases where we may want users to execute a command on all shards. This is sometimes a necessity if for example we want to force a refresh of the sharding catalog on all shards, or if we want to ensure all shards have reached some converged state.
Today we can't do this without bypassing mongos and directly connecting to each shard, this makes operational management a bit tedious since we have to implement everything on the operational side.
If boradcasting capability is supported on mongoS however, we can simply write a mongosh script that uses it in order to achieve the desired result rather than having to modify other operational tooling for every instance.