Include number of jumbo chunks remaining in output of removeShard

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.2, 4.0.14, 4.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.2, v4.0
    • Sharding 2019-12-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if removeShard is called while the shard is still draining the output of the command is

      {
      msg: "draining ongoing",
      state: "ongoing",
      remaining: chunks:5, dbs:1,
      note:"you need to drop or movePrimary these databases dbsToMove"
      }

      The only place the number of jumbo chunks that remains is reported is in the config server logs. It would be more helpful if we also reported this number in the command output as well. We do a find on config.chunks in order to report the number of chunks remaining, so it should be easy to search for those entries which have 'jumbo: true'.

            Assignee:
            Marcos José Grillo Ramirez
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: