-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
A MongoDB workload that inserts one document in a database and then repeatedly updates the document causes the collection file in WiredTiger to grow in proportion to the number of updates.
I can only reproduce this in replica sets. When running against a single mongod, the collection file doesn't grow past a few dozen KB.
I am attaching simple.sh and simple.js which reproduce the problem.