[SERVER-2344] Capped collection of size one Created: 10/Jan/11 Updated: 17/Mar/11 Resolved: 11/Jan/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 1.7.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Created using: final BasicDBObject options = new BasicDBObject("capped", true); |
| Comments |
| Comment by Ryan Nitz [ 11/Jan/11 ] |
|
This is not clearly defined in the Javadoc. I interpreted it as number of documents in the collection. I'll update the javadoc for DB.createCollection(String name, DBObject o). |
| Comment by Eliot Horowitz (Inactive) [ 11/Jan/11 ] |
| Comment by Eliot Horowitz (Inactive) [ 11/Jan/11 ] |
|
size is the size in bytes of the collection. |
| Comment by Ryan Nitz [ 10/Jan/11 ] |
|
13:29:37 [conn109] couldn't make room for new record (len: 104) in capped ns mmsdb.currentVersion |