You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/12/14 22:01:00 UTC
[jira] [Created] (ARROW-15107) [C++][FlightRPC] Enable Shutdown() to cancel ongoing RPCs
David Li created ARROW-15107:
--------------------------------
Summary: [C++][FlightRPC] Enable Shutdown() to cancel ongoing RPCs
Key: ARROW-15107
URL: https://issues.apache.org/jira/browse/ARROW-15107
Project: Apache Arrow
Issue Type: Improvement
Components: C++, FlightRPC
Reporter: David Li
gRPC will not signal {{is_cancelled}} to ongoing RPCs after Shutdown(), even if a deadline is provided. The net effect is that C++/Python servers appear unresponsive to SIGINT. We can implement this manually by setting a flag in Shutdown() that gets read in the ServerCallContext so that RPC handlers know they should cancel. (We may also want to have ServerCallContext call TryCancel in this case so that the client is properly notified.)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)