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

Include number of jumbo chunks remaining in output of removeShard

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: