coufon commented on PR #7412:
URL: https://github.com/apache/iceberg/pull/7412#issuecomment-1527835917

   > Zhou Fang can you help explain and document how the atomic update works? I 
assume this is somehow related to the `etag` and `updateTable` call, but it's 
not entirely clear how the atomic swap is enforced.
   
   Thank you so much for the review. I added a comment in the code to explain 
atomic update:
   
         // Updating a BLMS table with etag. The BLMS server transactionally 
(1) checks that the etag
         // of a table on server is the same as the etag provided by the 
client, and (2) update the
         // table (and its etag). The server returns an error containing 
message "etag mismatch", if
         // the etag on server has changed.


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