zhangyue19921010 opened a new pull request, #11342:
URL: https://github.com/apache/paimon/pull/11342

   ### Purpose
   
   Fixes #11341.
   
   Concurrent JDBC catalog renames of different objects can acquire the same 
two local lock stripes in opposite order and deadlock. Acquire local stripes in 
stripe order before entering the existing identifier order for distributed 
locks. Table and view renames share this helper.
   
   ### Tests
   
   Added a deterministic regression using real JDBC catalog table renames with 
colliding stripes. It fails on unchanged production code and passes after the 
fix.
   
   Ran the regression and neighboring catalog/view, lease and executor 
serialization tests: 111 pass with normal Maven checks and RAT (JDK 11, Java 8 
source target).
   


-- 
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]

Reply via email to