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

Test for recovery correctness with modify operations

    • Type: Icon: Workload Workload
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1, WT10.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage Engines 2019-07-19, Storage Engines 2019-08-12, Storage Engines 2019-08-26, Storage Engines 2019-09-09

      We recently started using a modify log record in WiredTiger, which has the interesting property that it's not idempotent. i.e: if the record is re-applied on top of a data change that already includes a change, or if a log record is applied multiple times we would end up with invalid data.

      We should inspect the code looking for cases where log records might be applied when they shouldn't be to ensure there aren't any bugs. We should also extend our recovery testing to cover cases where modify records are logged. The log record types are WT_LOGOP_ROW_MODIFY and WT_LOGOP_COL_MODIFY

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: