Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1327

sh.status() should show full list of tag ranges in verbose mode only

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: sh
    • Labels:
    • 2
    • Iteration Edmontonia, Iteration Lambeosaurus, Iteration Pterodactyl

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: