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

IndexScan doesn't dedup if index becomes multikey during query execution

    • ALL

      IndexScan currently sets _shouldDedup based on the value of isMultiKey at the start of the query. This is incorrect since the index may later become multikey. Note that it isn't enough to recheck isMultiKey after yielding since we would need to know all RecordIds we've already returned.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: