Optimize $listClusterCatalog followed by $match

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0
    • CAR Team 2024-12-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Optimize the $listClusterCatalog aggregation stage when it's immediately followed by a $match stage filtering the documents by 'db'.

      • If $match filters by 'db', we should only call the listCollections command for the databases that match the given query.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: