-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: sh
-
Environment:OS:
node.js / npm versions:
Additional info:
-
2
-
Iteration Edmontonia, Iteration Lambeosaurus, Iteration Pterodactyl, Iteration Fortitudo, Iteration Gamma Rays
-
Needed
-
I was doing some testing with sharding zones - specifically with large number of tags created. It seems that regardless of the number of tag ranges, sh.status() in non-verbose mode always outputs the full list of tags. I.e. with hundreds of tag ranges defined the output gets enormous. With thousands of tag ranges, running sh.status() takes much longer than usual. Thus if a user wants to see some basic details about the mongos, balancer state and shards, sh.status() becomes pretty much useless.
It seems reasonable to output full list of tag ranges in verbose mode only, just as we do it for chunks.
- related to
-
MONGOSH-1179 Query chunks filtering by 'uuid' or 'ns' according to metadata format
- Closed
-
SERVER-67454 Migrate printShardingStatus shell helper logic to database command
- Open