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

Report number of sharded/unsharded collections in server status

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: