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

Optimize catalog cache refresh aggregation pipeline

    • Fully Compatible
    • Sharding 2021-04-05
    • 0

      OnĀ SERVER-54874 we introduced an aggregation pipeline to refresh the catalog cache so that it reads config.collection and config.chunks at a same point-in-time in a single aggregation.

      This pipeline can be optimized to avoid using intermediate arrays (that the $facet stage is generating). This intermediate arrays can hit the 100 MB limit and fail the aggregation.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: