Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
3.1.6
-
None
-
Fully Compatible
-
ALL
Description
- 20 GB capped collection, 4 KB documents, 24 threads doing inserts
- 12 core / 24-cpu machine, 64 GB memory, SSD
- growth (as measured by db.c.stats().size) slows when cap is reached, but does not show any sign of reaching a limit

function create() {
|
db.c.drop()
|
db.createCollection('c', {capped:true, size:20*1024*1024*1024})
|
}
|
|
|
function insert() {
|
|
|
x = ''
|
for (var i=0; i<4000; i++)
|
x += 'x'
|
|
|
every = 10000
|
for (var i=0; ; ) {
|
var bulk = db.c.initializeUnorderedBulkOp();
|
for (var j=0; j<every; j++, i++)
|
bulk.insert({x:x});
|
bulk.execute();
|
//print(i)
|
}
|
}
|
Attachments
Issue Links
- related to
-
SERVER-19759 add a configure check for std::timed_mutex
-
- Closed
-