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

Allow writing to temporary table without abandoning snapshot in WiredTiger

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-10-18

    Description

      The problem specifically is that all query operations default to ignoring prepare conflicts. Some queries, however, like $setWindowFields may spill to the storage engine, which requires changing the prepare conflict behavior to kIgnoreConflictsAllowWrites, which allows these writes to succeed.

      We can work around this problem by allowing all read-only queries (even those that spill to the storage engine) to use kIgnoreConflictsAllowWrites. Special care should be taken for write operations to continue enforcing prepare conflicts

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: