[DOCS-276] Add documentation for usePowerOf2Sizes Created: 28/Jun/12 Updated: 30/Oct/23 Resolved: 06/Jul/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Matulef | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Days since reply: | 11 years, 32 weeks, 1 day ago | ||||||||||||||||||||
| Description |
|
We need documentation for the new "usePowerOf2Sizes" collection-level flag, as well as the new "collMod" command which lets you set that flag. I believe the syntax is: db.mycoll.runCommand( "collMod" , { "usePowerOf2Sizes" : true }) |
| Comments |
| Comment by auto [ 10/Jul/12 ] | |
|
Author: {u'date': u'2012-07-10T15:55:07-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: | |
| Comment by auto [ 06/Jul/12 ] | |
|
Author: {u'date': u'2012-07-06T15:13:03-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: merge: | |
| Comment by Kevin Matulef [ 06/Jul/12 ] | |
|
LGTM. You might ask Eliot whether there is a way to explicitly see which userFlags are set. | |
| Comment by Sam Kleinman (Inactive) [ 06/Jul/12 ] | |
| Comment by Kevin Matulef [ 05/Jul/12 ] | |
|
Currently, "usePowerOf2Sizes" is the only flag that the collMod command does anything with. This is sort of confusing. I actually just filed It might be worth having an "addFlag" shell helper at some point, but not really necessary now, since the collMod command only does this one thing. | |
| Comment by Sam Kleinman (Inactive) [ 05/Jul/12 ] | |
|
are there other collection level-flags? there currently isn't a place for them, and I'm thinking that, at least for the next little while, putting them within the reference for for collMod might be the best way to go... | |
| Comment by Sam Kleinman (Inactive) [ 05/Jul/12 ] | |
|
is there/will there be a shell helper? | |
| Comment by Kevin Matulef [ 05/Jul/12 ] | |
|
The syntax Eric mentioned is wrong. The correct syntax is
| |
| Comment by Kevin Matulef [ 28/Jun/12 ] | |
|
Eric mentions the syntax here |