-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines - 2022-08-08
-
8
Summary
RTS removes all the historical versions of a non-timestamp table as part of the rollback to stable operation. Sometimes this process of removing the historical versions can take a longer time whenever the history store table size is very big as it uses cursor->remove to remove the entries.
Instead of using the cursor remove, using session truncate to fast truncate the entire range of the btree in the history store can improve the performance.
Motivation
- Does this affect any team outside of WT?
Yes.
- (Are they blocked? Are they waiting for an answer?)
NO.
- How likely is it that this use case or problem will occur?
Edge case where the history store table size is very big.
- If the problem does occur, what are the consequences and how severe are they?
Long recovery time.
- Is this issue urgent?
NO.
Acceptance Criteria (Definition of Done)
The RTS HS truncate should be faster when the HS size is big.
- related to
-
WT-9576 failed: spinlock-pthread-adaptive-test on rhel80 [wiredtiger @ 2eee5fcb]
-
- Closed
-