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

The OplogBatcher loop should retry on WriteConflictExceptions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-12-16, Execution Team 2019-12-30
    • 20

    Description

      There are a few places in OplogBatcher::_run that access the storage engine, like getBatchLimitOplogBytes(), which reads from the DurableCatalog.

      WT may occasionally return WT_ROLLBACK for reads when the cache is full, so this internal thread needs to be able to handle the possibility of a WriteConflictException without it escaping.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: