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

Return internal databases with $listClusterCatalog

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

      This ticket aims to propagate the new functionality added by SERVER-97060 to $listClusterCatalog.

      $listClusterCatalog should return the internal databases whenever one of the following conditions is met:

      • The aggregation stage runs against an internal database (except for the 'admin' database).
      • The aggregation stage runs against the 'admin' database and the user adds {'includeSystemDatabases':1} on the request specification. This is an example:
       db.getSiblingDB("admin").aggregate({$listClusterCatalog: {includeSystemDatabases:1}})

            Assignee:
            Unassigned Unassigned
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: