[SERVER-44164] Create the killOperations command Created: 22/Oct/19 Updated: 29/Oct/23 Resolved: 02/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| 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: | Service Arch 2019-12-02, Service Arch 2019-12-16, Service Arch 2019-12-30, Service Arch 2020-01-13 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This command will accept a request of the following form:
and return a response like so:
This command requires the "__system" role or "enableTestCommands: 1" and the "killop" privilege action in either case. It should be available on both mongos and mongod for testing use, but only for mongos->mongod communication in production environments. |
| Comments |
| Comment by Githook User [ 02/Jan/20 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@mongodb.com', 'username': 'bcaimano'}Message: |
| Comment by Benjamin Caimano (Inactive) [ 23/Oct/19 ] |
|
I mean the killop privilege action. I incorrectly read https://docs.mongodb.com/manual/reference/built-in-roles/. |
| Comment by Eric Milkie [ 23/Oct/19 ] |
|
Did you mean "killop" ActionType? We have built-in roles that include that action type today but no actual role named "killOp". |