GangYang-HX commented on issue #6540:
URL: https://github.com/apache/paimon/issues/6540#issuecomment-3494614629

   ```
   public <T> T runWithLock(String database, String table, Callable<T> 
callable) throws Exception {
           long lockId = lock(database, table);
           try {
               return callable.call();
           } finally {
               unlock(lockId);
           }
       }
   ```
   It seems that some unexpected exception caused the `unlock()` method in the 
`finally` block not to execute, leading to a timeout in subsequent lock 
acquisitions.


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