vigneshio commented on code in PR #4962:
URL: https://github.com/apache/polaris/pull/4962#discussion_r3523832324
##########
runtime/service/src/main/java/org/apache/polaris/service/task/ManifestFileCleanupTaskHandler.java:
##########
@@ -118,8 +118,7 @@ private boolean cleanUpManifestFile(
} catch (IOException e) {
// Catches from ManifestFiles.read() (resource creation), from inside
the block
// (e.g. manifest iteration), or from close(). We throw (wrapping) so
the original
- // failure propagates and TaskExecutorImpl's retry path is used.
(handleTask returns
- // boolean and cannot declare a checked throws IOException.)
+ // failure propagates and the retry path is used. (handleTask is now
void.)
LOGGER.error("Failed to process manifest reader for {}",
manifestFile.path(), e);
throw new RuntimeException(e);
Review Comment:
Changed to throw new` UncheckedIOException(e)`. @adutra
--
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]