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

query optimizer cursor may return partial result set for a $or query if the last index match for a $or clause is deleted while it is "current"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: Querying
    • Labels:
      None
    • Operating System:
      ALL

      Description

      This is a concurrency issue where the cursor will finish instead of advancing from one $or clause to the next if a particular race condition occurs. This currently affects distinct, group, map/reduce etc which rely on the query optimizer cursor.

      Test and fix are ready to go if you assign a version.

        Attachments

          Activity

            People

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: