-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
-
ALL
-
Execution Team 2022-10-17, Execution Team 2022-10-31
The captrunc test command invokes cappedTruncateAfter without a WUOW. Based on the implementation of WiredTigerRecordStore::doCappedTruncateAfter, this means that first the indexes will be detached for the deleted records and later on, the actual data will get truncated in a separate WUOW.
This means if a crash happens in between the two, the index and data will remain inconsistent.
Without a crash of the server, there is not a problem because the whole command runs with a collection X-lock.
- related to
-
SERVER-90723 test-only captrunc command fails on a replica set node
- Closed