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

Convert the $listClusterCatalog stage into a source of documents stage

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

      Currently, the $listClusterCatalog stage is an alias to an internal pipeline. This pipeline aims to merge the local and the global catalogs to offer an extended version of the listCollections command.

      The issue is that having an internal pipeline complicates the consistent retrieval of both catalogs. It's even too complex to read at the same point in time on different collections of the global catalog.

      Converting the $listClusterCatalog stage into an actual DocumentSource stage will pave the way to achieve consistency between the two catalogs, and will make it possible to read all the collections in the global catalog at the same point in time.

       

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

              Created:
              Updated: