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

Assert that the timestamps are not OOO in __hs_insert_record

    • 8
    • Storage - Ra 2022-01-24
    • v5.0

      Summary

      The wt_hs_insert_updates function calls _hs_insert_record function after fixing the OOO timestamps of a particular update in the update chain. To verify that the OOO timestamps were modified to the correct values I added the following assert in the _hs_insert_record function. The WiredTiger patch succeeded, however, the MongoDB patch had a number of test failures.

      WT_ASSERT(session, tw->durable_stop_ts == WT_TS_NONE || tw->durable_stop_ts >= tw->durable_start_ts);
      

       This seems very strange.

      Scope:

      • Investigate why timestamps are OOO.
      • Write a python reproducer.
      • Fix the issue.
      • Run a MongoDB patch with the same assert in _hs_insert_record

            Assignee:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: