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

Programmatic API to get information on sharded collections

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      Some functionalities of the drivers and Mongo Shell require access to information on the shared collections. Such information is persisted in the config database owned by the Config Server. 

      Commands, like db.collection.getShardDistribution(), are currently implemented by accessing directly to these config collections, which requires to be aware of implementation details that could change from one version to another of the server.

      The idea is to decouple these command implementations from the internal representation of the system collections by exposing a programmatic API. Such API can be used to retrieve information on sharded collections, ensuring support and consistency regardless the internal representation of this information.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: