sodonnel commented on code in PR #6779:
URL: https://github.com/apache/ozone/pull/6779#discussion_r1630898441


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/ClientVersion.java:
##########
@@ -42,6 +42,9 @@ public enum ClientVersion implements ComponentVersion {
       "This client version has support for Object Store and File " +
           "System Optimized Bucket Layouts."),
 
+  ERASURE_CODING_READ_CHUNK_CORRUPTION_FIX(4,

Review Comment:
   Do we need this new client version? Can we not simple check on the server 
that:
   
   ```
   if (blockIDProto.hasReplicaIndex()) {
     // do the verify.
   }
   ```
   
   I suspect we add new fields in places fairly often without creating new 
client versions.
   
   I wonder what the trigger for a new client version should be, verses just 
checking for the presence of a field in the proto?



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