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

Report 'indexesUsed' for $lookup over sharded collections

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      When issuing explain() on aggregate commands with $lookup in it, 'indexesUsed' field is populated with the index that was used as part of the $lookup stage. However, this doesn't happen when $lookup is run on the sharded collection.

      This makes it hard to debug and understand which index was used, for both users and us.

            Assignee:
            Unassigned Unassigned
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: