-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
In the current code, we handle mixed mode operations (non-timestamped updates) and out-of-order operations a bit differently during history store reconciliation. For example, with mixed mode operation, we do not modify the start and stop timestamps of the entries in the data store update chain and reinsert the existing HS values with 0 timestamp in __wt_hs_insert_updates(). Whereas, for out-of-order timestamp operations, we modify the the start and stop timestamps for the updates on the chain and reinsert the updates in history store in __hs_insert_record().
The aim of this ticket to refactor the code and make the code common for both scenarios.
Acceptance criteria:
1 - PR tests are passing
2 - Format stress tests are passing
3 - MongoDB patch build is passing.