jianliu commented on pull request #11587: URL: https://github.com/apache/shardingsphere/pull/11587#issuecomment-898225986
@tristaZero This task will suspend until all the connections are released. Yes,the thread is suspend too,but the client will receive the response when context.flush is invoked,not the time of task or thread be finished.In other words the client may send next transaction sql like setcommit=false to proxy in the same moment,the proxy will submit next task to execute "setcommit=false",cause one BacendConnection handle its resources in two thread you can have a look at this issue`s reason analyz part 2.  -- 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]
