In MongoDB 8.0 there will be an aggregation stage $listClusterCatalog that allows customers to fetch the current shard key for a sharded collection without reading directly of the config server.
It would be nice if customers could leverage use a shell helper to run the aggregation without having to construct a full pipeline.
- has to be done after
-
SERVER-98652 [v8.0] Backport the $listClusterCatalog aggregation stage to v8.0
-
- Needs Merge
-
- related to
-
SERVER-5425 Create shell helper to display the current shard key
-
- Closed
-