You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "GangYang-HX (via GitHub)" <gi...@apache.org> on 2025/11/06 02:47:56 UTC
Re: [I] [Bug] HiveCatalogLock runWithLock() method executed exception :“Acquire lock failed with time: PT8M7.098S” [paimon]
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org