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

a race condition between the producer thread and stopReplicationAndFlushBuffer() can cause excessively long rollbacks

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0-rc1
    • Replication
    • None
    • ALL

    Description

      This race allows for a stale op to end up in the _buffer in bgsync.cpp, which can lead to excessively long rollbacks (since the time difference is negative and as a result ignores the 30min limit) when the primary becomes secondary again and the op gets put in the oplog

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            matt.dannenberg Matt Dannenberg
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: