dimas-b commented on code in PR #4408:
URL: https://github.com/apache/polaris/pull/4408#discussion_r3230511840
##########
runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java:
##########
@@ -2725,4 +2736,37 @@ private Page<TableIdentifier> listTableLike(
private int getMaxMetadataRefreshRetries() {
return
realmConfig.getConfig(FeatureConfiguration.MAX_METADATA_REFRESH_RETRIES);
}
+
+ /**
+ * Sub-classing {@link CommitFailedException} to cause Conflict (409) errors
at the REST API level
+ * if this exceptio escaped, instead of Server Error (500).
+ */
+ @VisibleForTesting
+ static class UnableToCheckSiblingLocationsException extends
CommitFailedException {
+
+ private final ResolverStatus status;
+
+ UnableToCheckSiblingLocationsException(ResolverStatus status) {
+ super("");
+ this.status = status;
+ }
+
+ @Override
+ public String getMessage() {
Review Comment:
no longer used
--
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]