-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 4.4.1
-
Component/s: None
-
None
-
Environment:Docker image mongo:4.4.1
-
None
-
None
I see that storage size is not reported correctly if I run with zlib compression. I tried:
docker run --name mongo -p 27017:27017 -d mongo:4.4.1 --wiredTigerCollectionBlockCompressor zlib
And when I query collection stats using:
db.collection.stats()
I get (redacted):
{
size: 6200000,
count: 200000,
avgObjSize: 31,
storageSize: 4096,
totalIndexSize: 20480,
totalSize: 24576,
indexSizes: { _id_: 20480 }
}
See how storageSize is 4096. It is so and it does not change.
- is related to
-
SERVER-60510 Changing zstdCompressionLevel does not affect storageSize
-
- Closed
-