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

Ensure that only idempotent modify operations are logged

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.2.2, 4.3.3, 3.6.17, 4.0.15
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: