huaxingao commented on code in PR #14196:
URL: https://github.com/apache/iceberg/pull/14196#discussion_r2392980333


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1966,6 +2021,17 @@ components:
               "GET /v1/{prefix}/namespaces/{namespace}/tables/{table}",
               "GET /v1/{prefix}/namespaces/{namespace}/views/{view}"
             ]
+        idempotencyKeyLifetime:
+          type: string
+          format: duration
+          description: >
+            Client reuse window for an Idempotency-Key (ISO-8601 duration, 
e.g., PT30M, PT24H).
+            Interpreted as the maximum time from the first submission using a 
key to the last retry
+            during which a client may reuse that key. Servers MUST accept 
replays for at least this

Review Comment:
   Fixed. Thanks



##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1966,6 +2021,17 @@ components:
               "GET /v1/{prefix}/namespaces/{namespace}/tables/{table}",
               "GET /v1/{prefix}/namespaces/{namespace}/views/{view}"
             ]
+        idempotencyKeyLifetime:
+          type: string
+          format: duration
+          description: >
+            Client reuse window for an Idempotency-Key (ISO-8601 duration, 
e.g., PT30M, PT24H).
+            Interpreted as the maximum time from the first submission using a 
key to the last retry
+            during which a client may reuse that key. Servers MUST accept 
replays for at least this
+            duration and MAY include a small grace period to account for 
delays/clock skew.
+            Presence of this field indicates the server supports 
Idempotency-Key semantics for
+            mutation endpoints. If absent, clients MUST assume idempotency is 
not supported.

Review Comment:
   Fixed. Thanks



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