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

Ensure that only idempotent modify operations are logged

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.2.2, 4.3.3, 3.6.17, 4.0.15
    • Component/s: None
    • Labels:
      None
    • Backport Requested:
      v4.2, v4.0, v3.6

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.cahill Michael Cahill
              Reporter:
              alexander.gorrod Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: