anishshri-db opened a new pull request, #42098: URL: https://github.com/apache/spark/pull/42098
### What changes were proposed in this pull request? Unload provider thereby forcing DB instance close and releasing resources on maintenance task error ### Why are the changes needed? If we don't do the close, the DB instance and corresponding resources (memory, file descriptors etc) are always left open and the pointer to these objects is lost since loadedProviders is cleared. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing unit tests -- 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]
