-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.12, 3.2.6, 3.3.6
-
Component/s: WiredTiger
-
Storage Engines
-
ALL
-
-
(copied to CRM)
-
0
The mongod instance (with WiredTiger storage engine) is down when there is insufficient disk space for the data volume. After adding more space to the dbpath and restart the mongod instance, count() returns incorrect value as below:
> db.users.count() 1527296 > db.users.find().itcount() 1605004
SERVER-19472 and DOCS-5682 mentioned that count may off by up to 1000 documents after an unclean shutdown. However, count off to 70k+ documents in my test.
Have tested 3.0.12, 3.2.6 and 3.3.6, all have the same issue.
db.collection.validate(true) will reset the value for count() to the correct number.
- is duplicated by
-
SERVER-20063 WiredTiger collection size cache can be inaccurate
- Closed
- is related to
-
SERVER-45718 Index builder can skip index building for a non-empty collections due to incorrect fast count value.
- Closed