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

incorrect assumptions in write operations using cursors

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.2
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • ALL

      • delete asserts if getsetdup identifies a dup, however a duplicate location is possible if the original document was removed and its record was reused for a new document
      • update and delete have a policy of avoiding a full yield by advancing to a subsequent record before a record is modified. This will not work correctly if advance() transitions to a new $or clause that has a basic cursor pointing at the document that will be deleted/updated. (With a basic cursor, the noteLoc() / checkLoc() code won't help - the cursor needs to be advanced beyond the modification point.)

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

              Created:
              Updated:
              Resolved: