[SERVER-11318] splitVector command should implement adminOnly() Created: 22/Oct/13 Updated: 10/Dec/14 Resolved: 23/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | David Storch | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 26qa, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Operating System: | ALL |
| Participants: |
| Description |
|
Most chunk-related commands (splitChunk, mergeChunks, moveChunk, etc.) implement the adminOnly() function. Consequently, they can only be run on the admin database. splitVector, however, does not implement adminOnly() and thus can be run on any database. In order to be consistent, it should be an admin-database-only command. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 23/Oct/13 ] |
|
splitVector is used in some client facing ways |
| Comment by David Storch [ 22/Oct/13 ] |
|
This change could be potentially backwards breaking; marking as "Backwards Breaking: Sometimes" |