[
https://issues.apache.org/jira/browse/ARROW-13409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li updated ARROW-13409:
-----------------------------
Component/s: FlightRPC
> [C++] Force shutdown option
> ---------------------------
>
> Key: ARROW-13409
> URL: https://issues.apache.org/jira/browse/ARROW-13409
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, FlightRPC
> Reporter: Pavel Sheftelevich
> Priority: Major
>
> Hello Arrow Team,
> Right now if there is an active client connection to Flight Server , call to
> {code:java}
> server->ShutDown
> {code}
> will hang until client disconnects. It seems currently there is no way to
> force server shutdown.
> I believe the reason for this is following:
> Inside
> {code:java}
> impl_->server_->ShutDown(){code}
> happens
> {code:java}
> g_core_codegen_interface->gpr_inf_future(GPR_CLOCK_MONOTONIC){code}
> thus server has infinite deadline on waiting to finish connections.
> It would be great if you add option for forced shutdown or point me to some
> existing way to shutdown server independently on client connections.
> Thank you
--
This message was sent by Atlassian Jira
(v8.3.4#803005)