Avoid reporting 'indexesUsed' for $lookup in sharded collections

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      Currently $lookup incorrectly reports empty array in cases it involves a sharded collections, which causes confusion. While SERVER-88883 is tracking the fix for this issue, which doesn't seem trivial, this ticket proposes to temporarily avoid reporting the indexesUsed in explain, to at least avoid reporting incorrect information to the users

            Assignee:
            Unassigned
            Reporter:
            Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: