agnes-xinyi-lu commented on code in PR #15126:
URL: https://github.com/apache/iceberg/pull/15126#discussion_r2786180156
##########
core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java:
##########
@@ -3606,6 +3614,119 @@ protected RESTSessionCatalog newSessionCatalog(
return catalog;
}
+ /**
+ * Test concurrent appends on multiple branches simultaneously to verify
proper handling of
+ * sequence number conflicts.
+ *
+ * <p>Uses a barrier to synchronize threads so they all load the same table
state and commit
+ * simultaneously, creating deterministic conflicts. With retries disabled,
we can verify exact
+ * counts: one success per round, and (numBranches - 1)
CommitFailedExceptions per round.
Review Comment:
I updated the test with what you pasted. Thanks @amogh-jahagirdar !
--
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]