siddhantsangwan commented on code in PR #6520:
URL: https://github.com/apache/ozone/pull/6520#discussion_r1566254502
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/ECBlockOutputStream.java:
##########
@@ -115,20 +115,43 @@ ContainerCommandResponseProto> executePutBlock(boolean
close,
}
BlockData checksumBlockData = null;
+ boolean foundStripeChecksum = false;
Review Comment:
I'm using this boolean to log only when `stripeChecksum` wasn't found,
independent of whether `checksumData` was found or not. It's just to indicate
that `stripeChecksum` wasn't found in this version, which can be helpful when
debugging.
1. Use the boolean to log when stripeChecksum wasn't found in any index.
2. Instead of throwing, log at line 160 if checksumData was also not found
(based on your comment below).
--
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]