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

(Nice-to-have) Make `sh.status()` and `db.printShardingStatus()` mongo Shell helpers internally rely on the new aggregation stages

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-09-02, CAR Team 2024-09-16

      The sh.status() and db.printShardingStatus() are mongo Shell helpers that both call the internal getPrintableShardingStatus() mongo Shell function to retrieve information about the overview and configuration of the sharded cluster.

      With the introduction of new aggregation stages ($clusterTopology, $listZones, $listDatabases, etc.) in the context of SPM-3796, there's an opportunity to remove the dependency of those helpers that relies on internal knowledge of the metadata format and location. However, we still need to maintain the legacy implementation for previous versions of MongoDB that do not support the new API.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: