[SERVER-4837] Support --shutdown command on all platforms Created: 01/Feb/12 Updated: 10/May/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | admin, move-sa, platforms-re-triaged, shutdown | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Currently the --shutdown option only works on linux and is not written in a portable way to other platforms. This could be implemented via a network call (would have issues with auth) or with an abstraction around checking that the process (without looking in /proc/<id>/exe) is the correct one. |
| Comments |
| Comment by Steven Vannelli [ 10/May/22 ] |
|
Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions. |
| Comment by Scott Hernandez (Inactive) [ 01/Feb/12 ] |
|
Also, we can compare /proc/self/exe versus /proc/<id>/exe so that we don't and won't check for endsWith("mongod"), which might not be the name of the file/process. |