lawofcycles commented on code in PR #3320:
URL: https://github.com/apache/iceberg-python/pull/3320#discussion_r3361556388


##########
mkdocs/docs/configuration.md:
##########
@@ -85,6 +85,26 @@ Iceberg tables support table properties to configure table 
behavior.
 
 <!-- prettier-ignore-end -->
 
+### Commit retry options
+
+When a concurrent commit is detected, PyIceberg automatically retries the 
operation with exponential backoff. If the retry detects a real data conflict 
(e.g. concurrent deletes on the same partition), it raises 
`ValidationException` instead of retrying.
+
+| Key                              | Options          | Default   | 
Description                                                        |
+| -------------------------------- | ---------------- | --------- | 
------------------------------------------------------------------ |
+| `commit.retry.num-retries`       | Integer          | 4         | Maximum 
number of retry attempts after a commit conflict            |
+| `commit.retry.min-wait-ms`      | Integer (ms)     | 100       | Minimum 
wait time before the first retry                            |

Review Comment:
   These are from Java Iceberg's `TableProperties.java`. All values match the 
Java implementation.
   
https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/TableProperties.java



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

Reply via email to