Report number of sharded/unsharded collections in server status

XMLWordPrintableJSON

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

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: