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/07/20 15:38:00 UTC

[jira] [Updated] (ARROW-13409) [C++][FlightRPC] Expose server shutdown with deadline

     [ https://issues.apache.org/jira/browse/ARROW-13409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li updated ARROW-13409:
-----------------------------
    Summary: [C++][FlightRPC] Expose server shutdown with deadline  (was: [C++] Force shutdown option)

> [C++][FlightRPC] Expose server shutdown with deadline
> -----------------------------------------------------
>
>                 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)