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

ReplBatcher should explicitly read at kNoTimestamp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.6, 4.3.4
    • 4.2.2
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Repl 2020-02-10
    • 13

    Description

      The ReplBatcher thread reads from the storage engine here. This results in using AutoGetCollectionForReadCommand. The various rules of that helper allow the thread to read at kLastApplied.

      This behavior can cause rollback to crash in debug builds. Specifically while reconstructing prepared transactions. This WT assertion fails when the prepare timestamp is older than any active readers. The ReplBatcher, however, may still be reading at kLastApplied.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: