-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
44
The Java driver has a regression test for its create collection helper that is failing against a sharded cluster. The test runs the following command:
{
create: <collection>,
capped: true
size: 40960
max: 100
}
Followed by
{ collStats: <collection> }
and expects that the value of the storageSize field in the reply is equal to 40960.
But the actual value of the field is 4096.
The test first failed against MongoDB 6.2.0-alpha-209-g8de369e. The test last succeeded against v6.2.0-alpha-187-gbd8a8d4. The same test still passes against replica set and standalone topologies.