N-o-Z commented on issue #9485:
URL: https://github.com/apache/iceberg/issues/9485#issuecomment-1953802367

   > @N-o-Z Hello, I am working on a fix related to HadoopTableOperations. I 
would like to ask you a question.
   > 
   > ```
   >       if (!lockManager.acquire(dst.toString(), src.toString())) {
   >         throw new CommitFailedException(
   >             "Failed to acquire lock on file: %s with owner: %s", dst, src);
   >       }
   > ```
   > 
   > Why are you using dst.toString() and src.toString() as lock-key.
   
   I'm not sure I fully understand the question
   The LockManager I used to ensure no two writers are writing the same 
metadata version file, therefore the entitiy id will be the destionation file 
path (i.e. the metadata version file to write) and the owner Id used will be 
the name of the temoporary file used to write the metadata version content.


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to