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

Implicit yield reporting in MultiCursor::recoverFromYield() can overstate the yield count if the cursor's current() document is deleted during a yield.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.2
    • None
    • Querying
    • None
    • ALL

    Description

           void MultiCursor::recoverFromYield() {
               noteYield();
               Cursor::recoverFromYield();
               advanceExhaustedClauses();
           }

      The noteYield() above can be called in cases where a query optimizer cursor has entered takeover mode and is being advanced due to a deletion.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: