chenzhx commented on pull request #34292:
URL: https://github.com/apache/spark/pull/34292#issuecomment-949581186
@HyukjinKwon Sorry to reply you so late.
Currently spark cannot trigger this deadlock. So we wrote our own test to
verify the effectiveness of this change.
In our external catalog code base, We write a UT to call
SessionCatalog.getTempViewOrPermanentTableMetadata in one thread and while
calling spark.sql("show databases") in other thread. Without this patch, a
deadlock occurs and timeout exception was thrown. With this patch, UT works
correctly.
We also tested this patch on the client's production environment, and the
deadlock is fixed.
--
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]