naddym commented on pull request #4588: URL: https://github.com/apache/nifi/pull/4588#issuecomment-714372371
Sure @mattyb149, We have REST API based dataflow which entertains requests and returns responses after series of manipulation which also involves database connections. Sometimes, we notice validation connection being waiting forever whenever the database access error happens either due to database refresh/clone. Generally, DBA team does database refresh/clone every month or twice a month. This is rare scenario that happens but however we never get response from a failed request as it gets hung waiting. Adding timeout to validation connection forces to timeout and successfully returns failure response to complete the request. Thanks for Hive_1.1ConnectionPool, I completely missed it. I have changed that as well. Thanks again. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
