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

Handle WT_PREPARE_CONFLICT on reads

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-03-26, Storage NYC 2018-03-12

      On WT_PREPARE_CONFLICT, read operations in wiredtiger_record_store.cpp and wiredtiger_index.cpp call waitUntilPreparedUnitOfWorkCommitsOrAborts and retry, roughly where we now do WT_READ_CHECK.

      Also add failpoint to make WT_READ_CHECK occasionally return WT_PREPARE_CONFLICT.

      Add new testing enabling this failpoint to check proper handling.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: