sodonnel commented on code in PR #9941:
URL: https://github.com/apache/ozone/pull/9941#discussion_r2959390113
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ec/reconstruction/ECReconstructionCoordinator.java:
##########
@@ -294,18 +294,20 @@ public void reconstructECBlockGroup(BlockLocationInfo
blockLocationInfo,
sis.setRecoveryIndexes(toReconstructIndexes.stream().map(i -> (i -
1))
.collect(Collectors.toSet()));
long length = safeBlockGroupLength;
+ boolean blockGroupDetailsLogged = false;
while (length > 0) {
int readLen;
try {
readLen = sis.recoverChunks(bufs);
Set<Integer> failedIndexes = sis.getFailedIndexes();
- if (!failedIndexes.isEmpty()) {
+ if (!failedIndexes.isEmpty() && !blockGroupDetailsLogged) {
Review Comment:
Yes, there are existing messages inside the Strip Reconstruction Reader
class that log when an index fails, so we can remove the log here completely.
--
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]