Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- is related to
-
ARROW-15473 [C++][FlightRPC] Expose a way to terminate all calls client side
- Open
- links to