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

ASF GitHub Bot updated ARROW-13409:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Assignee: Rok Mihevc
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)

Reply via email to