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

update_yield1 / atomic updates failure

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.9.2
    • None
    • None
    • ALL

    Description

      It looks like this code in update.cpp does not respect the atomic option:

      // *****************
      if ( cc.get() == 0 )

      { shared_ptr< Cursor > cPtr = c; cc.reset( new ClientCursor( QueryOption_NoCursorTimeout , cPtr , ns ) ); }

      if ( ! cc->yieldSometimes( ClientCursor::WillNeed ) )

      { cc.release(); break; }

      if ( !c->ok() )

      { break; }

      // *****************

      And I'm seeing update_yield1 fail on my machine. (This test only runs weekly in bb.)

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: