[SERVER-19264] the shell should not call quitNicely() in a signal handler Created: 02/Jul/15  Updated: 06/Dec/22  Resolved: 03/Dec/21

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Won't Fix Votes: 0
Labels: move-sa, move-stm, platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to MONGOSH-272 Interrupting the shell during a hung ... Closed
Assigned Teams:
Server Tooling & Methods
Operating System: ALL
Participants:

 Description   

The shell should not call quitNicely() in a signal handler; that function eventually makes many system calls that are unsafe to call in a signal handler.
Instead, the shell should do what the server does and unblock a special shutdown thread when SIGINT is signaled.


Generated at Thu Feb 08 03:50:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.