szetszwo commented on code in PR #12230:
URL: https://github.com/apache/ozone/pull/12230#discussion_r4804164401


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/DispatcherContext.java:
##########
@@ -140,11 +142,16 @@ public static Op op(DispatcherContext context) {
     return context == null ? Op.NULL : context.getOp();
   }
 
+  public static ReplicationType replicationType(DispatcherContext context) {
+    return context == null ? ReplicationType.RATIS : 
context.getReplicationType();

Review Comment:
   That's a good point!  We should handle EC case.  Let me update the change.



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