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

Extend express path to support findOne queries with non-unique indexes that require shard filtering

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

      In SERVER-86237, we decided to defer support for findOne queries with non-unique indexes that require shard filtering in the express path. In this ticket, we will add that support. We will need to extend the express executor to scan through multiple keys of an index, not just one, to deal with the issue where the shard filter filters out the single document returned by the index.

      It seems like this will also require support for yielding in the express executor.

            Assignee:
            Unassigned Unassigned
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: