lidavidm commented on issue #11932: URL: https://github.com/apache/arrow/issues/11932#issuecomment-993611511
Ah, that is a fair point. We could/should allow customization of which signals are respected. I'm not quite clear on the question about enable_signal_handlers, sorry - but basically, it doesn't work in Flight servers simply because it's not implemented. We can make it work, I'm just saying that it's not necessary nor sufficient to be able to handle signals yourself, so I want to make it clear what the solution is (as you've noted, using a background thread). AFAIK the issue with shutdown is basically that gRPC will not cancel synchronous RPC handlers, so we have to set our own shutdown flag - that's all. I'll file JIRAs for these improvements. Thanks for pointing this out & helping me understand the issue! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org