ajantha-bhat commented on code in PR #8909: URL: https://github.com/apache/iceberg/pull/8909#discussion_r1382844582
########## nessie/src/main/java/org/apache/iceberg/nessie/NessieUtil.java: ########## @@ -165,4 +180,77 @@ public static TableMetadata updateTableMetadataWithNessieSpecificProperties( return builder.discardChanges().build(); } + + static void handleExceptionsForCommits( + Exception exception, String refName, AtomicBoolean failure, Content.Type type) { + if (exception instanceof NessieConflictException) { + failure.set(true); Review Comment: removed `AtomicBoolean` as it can be simplified. -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org