-
Type: Improvement
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
None
The mongodb test jstests/noPassthroughWithMongod/indexbg_interrupts.js takes significantly longer with snapshots enabled (42 min vs 1 min). Most of the time is spent in the convertToCapped command. Profiling shows that the vast majority of the time is spent iterating the update lists in __rec_txn_read and __wt_row_modify.
My theory is that the existence of a snapshot is preventing splitting a page. This workload creates a new collection and inserts ~100k records into it without creating new snapshots or retiring old ones. I think that the linear scans are causing this to be an O(N^2) operation.
- depends on
-
WT-1967 Support long-running snapshot readers
- Closed
- is depended on by
-
SERVER-19910 Reenable convertToCapped testing in indexbg_interrupts.js
- Closed
-
SERVER-20479 WiredTiger changes for MongoDB 3.0.7
- Closed