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

Optimize catalog cache refresh aggregation pipeline

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2021-04-05
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: