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

Allow writing to temporary table without abandoning snapshot in WiredTiger

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-10-18

      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

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

              Created:
              Updated:
              Resolved: