jojochuang commented on code in PR #10693:
URL: https://github.com/apache/ozone/pull/10693#discussion_r3573294677
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ReplicationTask.java:
##########
@@ -105,6 +105,14 @@ DatanodeDetails getTarget() {
return cmd.getTargetDatanode();
}
+ /**
+ * @return true if this is a push replication task (source datanode sends
+ * container to target).
+ */
+ public boolean isPushReplication() {
Review Comment:
After HDDS-15614, it is always push replication so this helper method is not
needed.
I'll remove this one.
--
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]