-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Truncate
-
Storage Engines
-
1
-
StorEng - 2024-11-26
The Truncate commit timestamp support added in WT-13442 is causing some performance regression because of these additional checks during the transaction commit. But these timestamp validations are required to have proper timestamp information on-disk, so we cannot remove these validations to improve the performance.
Currently, MongoDB doesn't use truncate operation with commit timestamps, so we can ignore these validations for non-standalone builds and do it only for the standalone build. Whenever MongoDB starts using truncate with timestamps, we can enable these validations.