mannoopj commented on code in PR #20707:
URL: https://github.com/apache/kafka/pull/20707#discussion_r2581137590
##########
metadata/src/main/java/org/apache/kafka/metadata/storage/Formatter.java:
##########
@@ -432,24 +437,23 @@ void doFormat(BootstrapMetadata bootstrapMetadata) throws
Exception {
setDirectoryId(directoryId).
build());
}
+ copier.setWriteErrorHandler((errorLogDir, e) -> {
+ throw new FormatterException("Error while writing
meta.properties file " +
+ errorLogDir + ": " + e);
+ });
Review Comment:
Yeah realized I was testing this incorrectly, thought it was working.
--
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]