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

update_yield1 / atomic updates failure

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

      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.)

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

              Created:
              Updated:
              Resolved: