-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: WiredTiger
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
- single-node replica set
- 2 threads inserting 1 kB compressible documents
- 10 GB oplog, 10 GB cache
- ssd for data files, separate hdd for journal
- using this build to avoid issues with LAS file from
SERVER-21585

- once cache fills inserts stall during latter part of checkpoint
- ops with latencies up to 18779 ms are reported in mongod log
- ftdc also stalls
A similar test on 3.0.7 shows some slowdown during checkpoints but no complete stalls, and max latency seen in a similar run was 7s. (The 3.0.7 test used 15 threads instead of 2 to get comparable throughput).
function repro(threads) {
Random.setRandomSeed();
db.c.ensureIndex({y:1})
var docs = [];
for (var i = 0; i < 1000; i++) {
var x = '';
while (x.length < 1000)
x += 'x'
docs.push({x: x, y: i, z: 0});
}
var insert_ops = [{
op: 'insert',
ns: 'test.c',
doc: docs,
safe: true,
}];
var res = benchRun({
ops: insert_ops,
seconds: 10000,
parallel: threads
});
printjson(res);
}
- depends on
-
WT-2244 Trigger in-memory splits sooner
-
- Closed
-
- is depended on by
-
SERVER-21686 WiredTiger changes for 3.2.0-rc5
-
- Closed
-
- related to
-
SERVER-21585 Cache usage exceeds configured value, operations stall, WiredTigerLAS.wt grows
-
- Closed
-