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

The `printShardingStatus` utility should be on sh and not on db

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: Shell API
    • Labels:
      None
    • Not Needed

      Problem Statement/Rationale


      The printShardingStatus utility script provides textual information for the entire cluster and has nothing to do with the current database.

      Because of this, it is unintuitive to find it under the db object, rather than under sh.

      Can it be moved to be under sh instead?

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce


      > sh.printSha^T^T

      Expected Results


      The printShardingStatus utility is moved under the sh object.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: