Extend the classic $lookup LRU result cache (SERVER-127901) to cover $lookup stages that have absorbed a $unwind

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-127901 added a per-localField-value LRU result cache to classic $lookup for pure localField/foreignField equijoins (LookupResultCache in lookup_result_cache.h/.cpp). The cache is unconditionally disabled (LookupResultCache::createDisabled()) whenever _hasAbsorbedUnwindSrc is true — see the guard and TODO in LookUpStage's constructor and makeResultCache() in src/mongo/db/exec/agg/lookup_stage.cpp.

            Assignee:
            Unassigned
            Reporter:
            Prabhas Penumatsa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: