sundy-li opened a new issue, #4314: URL: https://github.com/apache/arrow-rs/issues/4314
**Which part is this question about** <!-- Is it code base, library api, documentation or some other part? --> Is there any way for FlightSQLServer to actively detect that the client has closed the connection? **Describe your question** <!-- A clear and concise description of what the question is. --> We are using Flight-SQL in databend. We also supported MySQL protocol which is TCP based, the server could destroy the session(rust's drop ) when the client closes the connection because it shares the same connection with the server. But for Flight-SQL, we use a background thread to destroy the inactive session in the map, https://github.com/datafuselabs/databend/blob/6659761f9a0fa19887caf3691de75c651b88fce1/src/query/service/src/servers/flight_sql/flight_sql_service/service.rs#L155-L158 **Additional context** <!-- Add any other context about the problem here. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
