[JAVA-2907] size not accepting $numberlong argument Created: 13/Jul/18 Updated: 27/Oct/23 Resolved: 21/Aug/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 3.7.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dharshan Rangegowda | Assignee: | Ross Lawley |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We are using a command to create the oplog (as part of resizing the oplog). db.runCommand({ "create" : "oplog.rs", "capped" : true, "size" : { "$numberLong" : "2147483648" }}) This returns error - specify size:<n> when capped is true, code - 14832. This used to work in previous version of the driver. If you pass in the size directly as long it works
|
| Comments |
| Comment by Ross Lawley [ 13/Jul/18 ] |
|
Just to let you know this project is for Java driver bugs or feature requests, it looks from your examples you are using the MongoDB shell. The best place for questions regarding MongoDB usage or the Java driver specifics is the mongodb-user mailinglist or stackoverflow as you will reach a boarder audience there. If your business requires an answer from MongoDB within a time frame then we do offer production support. If you do follow up via one of the options above please post a link and I will follow the conversation there. All the best, Ross |