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.
This seems very strange.
- Investigate why timestamps are OOO.
- Write a python reproducer.
- Fix the issue.
- Run a MongoDB patch with the same assert in _hs_insert_record