You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "flyrain (via GitHub)" <gi...@apache.org> on 2025/10/15 00:42:49 UTC

Re: [PR] REST: Reconcile on CommitStateUnknown for simple update [iceberg]

flyrain commented on code in PR #14320:
URL: https://github.com/apache/iceberg/pull/14320#discussion_r2430838600


##########
core/src/main/java/org/apache/iceberg/rest/RESTCatalogProperties.java:
##########
@@ -35,6 +35,14 @@ private RESTCatalogProperties() {}
 
   public static final String PAGE_SIZE = "rest-page-size";
 
+  // Enable a lightweight client-side reconciliation flow for REST commits that add a new snapshot
+  // when the server responds with CommitStateUnknown (e.g., transient 5xx). When enabled, the
+  // client will refresh the table and verify the expected snapshot is present in history; if so,
+  // the commit is treated as successful without re-executing.
+  public static final String RECONCILE_ON_COMMIT_STATE_UNKNOWN =

Review Comment:
   Just checking, do we actually need a config for this? It seems like it should be on all the time. 



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

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


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