[SERVER-49858] Reconsider API parameters for config server commands Created: 24/Jul/20 Updated: 29/Oct/23 Resolved: 10/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Repl 2020-08-24, Repl 2020-09-07, Repl 2020-09-21 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
There are two mongos commands in API Version 1 that forward their parameters to internal commands: "drop" forwards to "_configsvrDropCollection" and "dropDatabase" forwards to "_configsvrDropDatabase". Users should be permitted to call the mongos commands with apiVersion: "1", apiStrict: true, but if the internal commands aren't in Version 1 they'll reject these parameters. In detail: a client call to "drop" (or "dropDatabase") on mongos with apiVersion: "1" and apiStrict: true follows these steps:
In |
| Comments |
| Comment by Githook User [ 11/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 10/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| Comment by A. Jesse Jiryu Davis [ 31/Aug/20 ] |
|
Although including _configsvrDropCollection/Database in API Version 1 works, it still seems odd. Let's reconsider again. |
| Comment by Githook User [ 25/Aug/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: Revert " This reverts commit f4ed96b5a788003322a2dc36b46063475a0b36ca. For |
| Comment by A. Jesse Jiryu Davis [ 24/Aug/20 ] |
|
Might revert this for |
| Comment by Githook User [ 13/Aug/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: There are two mongos commands in API Version 1 that forward their parameters to internal commands: "drop" forwards to "_configsvrDropCollection" and "dropDatabase" forwards to "_configsvrDropDatabase". |