YuanbenWang commented on code in PR #7220:
URL: https://github.com/apache/ozone/pull/7220#discussion_r1767192438


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java:
##########
@@ -207,6 +207,14 @@ public enum ChecksumCombineMode {
       tags = ConfigTag.CLIENT)
   private long excludeNodesExpiryTime = 10 * 60 * 1000;
 
+  @Config(key = "ec.reconstruct.validation",
+      defaultValue = "false",
+      description = "The flag whether to validate that EC reconstruction tasks 
" +
+          "reconstruct target containers correctly. When validation fails, " +
+          "reconstruction tasks will fail.",
+      tags = ConfigTag.CLIENT)
+  private boolean ecReconstructValidation = false;

Review Comment:
   Thank you for your reviewing! I have updated the description of this PR. In 
fact, we use the data obtained after decoding for another decoding and compare 
it with the original data to verify whether the decoding is correct. This may 
affect the speed of reconstruction. Maybe whether to enable this feature may 
need to be decided by user.



-- 
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]

Reply via email to