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

Report configured chunk size in collectionBalancerStatus

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0-rc1
    • None
    • Fully Compatible
    • ALL
    • v5.3
    • Sharding EMEA 2022-02-21
    • 9

    Description

      The chunk size for a specific collection is calculated according to the following rules in order of precedence:

      1. The collection specific chunk size maxChunkSizeBytes field in config.collection if set
      2. The global chunk size setting in config.settings.chunkSize if set
      3. The default global chunk size setting

      So currently it is not straightforward for a user checking which is the currently configured chunk size setting for a specific collection. 
      My proposal is to expose such information in the collectionBalancerStatus output, taking into account the 3 rules listed above.

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: