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

potential concurrency issue in repl pairs updateSetsWithLocalOps() if oplog loops over during yield

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Concurrency
    • None
    • ALL

    Description

      In replica pairs mode, updateSetsWithLocalOps() maintains a list of ops that are not known to have been applied to the peer. In some cases we may do a dbtemprelease in this function or in updateSetsWithOps() which could invalidate a non client cursor and BSONObj if oplog insertions during the dbtemprelease cause the cursor's current pointer to be deleted.

      This issue is in replica pairs mode only.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: