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

Report configured chunk size in collectionBalancerStatus

    • Fully Compatible
    • ALL
    • v5.3
    • Sharding EMEA 2022-02-21
    • 9

      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.

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

              Created:
              Updated:
              Resolved: