pvary commented on issue #2540:
URL: https://github.com/apache/iceberg/issues/2540#issuecomment-828791623


   > Want to also call out - for issue (1), we will need to find a way to clear 
up the expired locks which are still blocking the lock chain.
   > 
   > In this problem space of (1), I believe #2263 would solve a majority of 
cases, leaving just the `driver-crashing-after-acquiring-the-lock` cases. May 
be a case for HMS cleanup service.
   
   I think you could use the 
https://github.com/apache/hive/blob/rel/release-3.1.2/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/AcidHouseKeeperService.java
   
   This is an existing service in HMS to remove stale locks. 
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to