You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.apache.iceberg.hive.MetastoreLock#acquireJvmLock can race with releaseJvmLock and produce a NullPointerException. Additionally, the implementation has concurrency issues.
The call to Thread.interrupted() in the InterruptedException catch blocks is meaningless.
The text was updated successfully, but these errors were encountered:
@pvary hm - but why's there a "lock" and "unlock" operation, if it's not shared?
The comment in lock() says it is shared though: avoid concurrent commit attempts to the same table.
If it is shared, it has concurrency issues:
race on jvmLock field between releaseJvmLock() and acquireJvmLock
Apache Iceberg version
None
Query engine
None
Please describe the bug 馃悶
org.apache.iceberg.hive.MetastoreLock#acquireJvmLock
can race withreleaseJvmLock
and produce aNullPointerException
. Additionally, the implementation has concurrency issues.The call to
Thread.interrupted()
in theInterruptedException
catch blocks is meaningless.The text was updated successfully, but these errors were encountered: