Skip to content

Commit

Permalink
Docs: improve description of Glue catalog optimistic locking mechanism (
Browse files Browse the repository at this point in the history
  • Loading branch information
joonsun-baek authored Mar 22, 2023
1 parent f30c080 commit c60516b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ and table name validation are skipped, there is no guarantee that downstream sys
By default, Iceberg uses Glue's optimistic locking for concurrent updates to a table.
With optimistic locking, each table has a version id.
If users retrieve the table metadata, Iceberg records the version id of that table.
Users can update the table, but only if the version id on the server side has not changed.
Users can update the table as long as the version ID on the server side remains unchanged.
If there is a version mismatch, it means that someone else has modified the table before you did.
The update attempt fails, because you have a stale version of the table.
If this happens, Iceberg refreshes the metadata and checks if there might be potential conflict.
Expand Down

0 comments on commit c60516b

Please sign in to comment.