[SERVER-26490] Whitelist usePowerOf2Sizes option to create command Created: 05/Oct/16 Updated: 05/Apr/17 Resolved: 06/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Query 2016-10-10 | ||||||||
| Participants: | |||||||||
| Description |
|
Old versions of the Java driver send the invalid option "usePowerOf2Sizes" to the "create" command, when users request to create a collection with the "power of 2" storage allocation strategy. The correct name of the option to use is "flags", per the create command reference. Original description:
|
| Comments |
| Comment by Tess Avitabile (Inactive) [ 06/Oct/16 ] |
|
usePowerOf2Sizes was never a top-level option to create. Instead, it was a flag. So it is an error for drivers to pass it as a top-level option. |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: Revert " This reverts commit 3ef6f3040b6295e12d96347f81674c2fc76bbdef. |
| Comment by J Rassi [ 06/Oct/16 ] |
|
I'm re-opening this ticket for consideration of reverting the above commit. Per the updated description, the actual issue here is a bug in the Java driver, not a bug in the server. |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: |