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

Include number of jumbo chunks remaining in output of removeShard

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2, 4.0.14, 4.3.3
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Sharding 2019-12-02

      Description

      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'.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: