funky-eyes commented on issue #7042: URL: https://github.com/apache/incubator-seata/issues/7042#issuecomment-2513474301
A simple solution could be to check the exception, and if the exception indicates that the datasource has already been closed, the task can simply exit. A more complex solution would be to establish a table-to-datasource association. When the datasource is closed, it actually calls the close method of the datasource proxy. At this point, we need to identify the thread tasks under this table and close them accordingly. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
