[SERVER-6958] collection stats capped field value changed type Created: 06/Sep/12  Updated: 14/May/14  Resolved: 06/Sep/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.2.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 Description   

For a capped collection the value of the capped field changed from an integer to a boolean:

In 2.0:

> db.mycoll.stats().capped
1

in 2.2:

> db.mycoll.stats().capped
true

This can break some drivers or other clients that were making assumptions on this value's type.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 06/Sep/12 ]

drivers should accept both

Generated at Thu Feb 08 03:13:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.