gaborgsomogyi opened a new pull request #28368:
URL: https://github.com/apache/spark/pull/28368


   ### What changes were proposed in this pull request?
   There is a race in secure JDBC connection providers. Namely multiple 
providers can read and/or write the exact same JVM security configuration at 
the same time. In this PR I've synchronised them with an object class. Since 
the configuration read and write takes couple of milliseconds it won't cause 
performance degradation.
   
   ### Why are the changes needed?
   There is a race in secure JDBC connection providers.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   Existing unit + integration 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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to