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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • sh
    • 2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: