Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4840

WT_CURSOR.modify must require explicit, snapshot-isolation transaction

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.1, 4.3.1, 4.2.0-rc3, 4.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage Engines 2019-07-01
    • v4.2, v4.0, v3.6

      This Jenkins job, running on kodkod-aws failed with a data mismatch.
      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress/70912/console

      snapshot-isolation 0000301057.00/opqrstuvwxyzabc search mismatch
      	expected {0000301057/3030303030303030303030303030303030303030303030303030303030303030iyxwvdygihgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazwvfyazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazwvzycbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbaz}
      	found {0000301057/3030303030303030303030303030303030303030303030303030303030303030iyxwvdygihgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazwvfyazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazwvzycbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbazgfedcbaz}
      

      NOTE: This is running row-store WITHOUT timestamps.

      SUMMARY:
      This ticket resolves the issue of nonsensical data results from WT_CURSOR.modify operations, in the context of relaxed isolation modes, by disallowing WT_CURSOR.modify operations in any isolation mode other than snapshot isolation.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: