Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30296

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding, Shell
    • Labels:
      None
    • Case:

      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

          Activity

            People

            Assignee:
            backlog-server-sharding Backlog - Sharding Team
            Reporter:
            dmitry.ryabtsev Dmitry Ryabtsev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: