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

Ensure that only idempotent modify operations are logged

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.2.2, 4.3.3, 3.6.17, 4.0.15
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • v4.2, v4.0, v3.6

      When using the WT_CURSOR::modify API with tables that use the WAL for durability, it's not OK to do do modify operations that aren't idempotent (can be re-applied without changing the state). Since it's possible that recovery will re-apply the operation.

      Make a change that fixes that so the logging is always correct, or such operations would be disallowed.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: