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

Report number of sharded/unsharded collections in server status

    • Type: Icon: Task Task
    • Resolution: Declined
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • v8.0

      The numShardedCollections metric reported in configsvr's server status output is currently based on the number of records present in config.collections. Once unsharded collections are also going to be also tracked in the same collection, a simple count will not be enough to differentiate between sharded and unsharded collections.

      Purpose of this ticket is to start reporting 2 separate metrics (numShardedCollections and numUnshardedCollections) by replacing the count with a query taking into account the unsplittable field.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: