I see your point, regarding the documentation. The max field, as per the documentation, only "Shows the maximum number of documents that may be present in a
capped collection." whereas maxSize shows "the maximum size of a
capped collection."
What version of MongoDB are you running?
I ran this as well. In version 3.0.2
I do see maxSize on a capped collection I created. I tried this in both my own test db as well as the local DB. However
in version 2.6.9 I only see "max" on the
oplog.rs collection and I also created a new capped collection against the local DB and it still failed to be displayed. I used the same command to create the capped collection on both versions.
Could it be this documentation you are referencing is 3.0+ specific? Usually they reference the changes within the documentation but perhaps I missed it.
On Thursday, April 30, 2015 at 11:59:24 AM UTC-4, TwoStep wrote: