pvary commented on a change in pull request #3606:
URL: https://github.com/apache/iceberg/pull/3606#discussion_r759159722
##########
File path:
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java
##########
@@ -420,6 +454,7 @@ long acquireLock() throws UnknownHostException, TException,
InterruptedException
LockResponse lockResponse = metaClients.run(client ->
client.lock(lockRequest));
AtomicReference<LockState> state = new
AtomicReference<>(lockResponse.getState());
long lockId = lockResponse.getLockid();
+ tableLocksById.put(lockId, fullName);
Review comment:
Maybe store the triplet, so we can close it:
- lockId
- fullName
- metaClients
--
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]