Mongosh adds a sh.getShardedDataDistribution() helper function which runs the $shardedDataDistribution aggregation stage and returns a cursor for the result. (Related server DOCSP ticket: DOCSP-25091)
Mongosh adds a sh.getShardedDataDistribution() helper function which runs the $shardedDataDistribution aggregation stage and returns a cursor for the result. (Related server DOCSP ticket: DOCSP-25091)