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 2022/01/27 16:22:00 UTC
[jira] [Created] (ARROW-15487) [C++][FlightRPC] Add FlightClient::Close
David Li created ARROW-15487:
--------------------------------
Summary: [C++][FlightRPC] Add FlightClient::Close
Key: ARROW-15487
URL: https://issues.apache.org/jira/browse/ARROW-15487
Project: Apache Arrow
Issue Type: Improvement
Components: C++, FlightRPC
Reporter: David Li
Assignee: David Li
We should add an explicit Close() method to Flight clients. For backwards compatibility, the client destructor should call Close().
For gRPC, we do not have an explicit Close() method provided by gRPC, so it will just be a no-op (or perhaps explicitly drop the reference to the underlying gRPC client). When ARROW-15473 is implemented, Close() could cancel all calls and drop the reference.
For UCX, we will need an explicit Close() to clean up resources (and return error codes), so this will be useful then.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)