amaliujia commented on code in PR #12230:
URL: https://github.com/apache/ozone/pull/12230#discussion_r4797285496
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -447,9 +447,11 @@ ContainerCommandResponseProto handleStreamInit(
/**
* Handles Create Container Request. If successful, adds the container to
* ContainerSet and sends an ICR to the SCM.
+ *
+ * @param replicationType the {@link ReplicationType} of the pipeline
creating the container.
*/
ContainerCommandResponseProto handleCreateContainer(
- ContainerCommandRequestProto request, KeyValueContainer kvContainer) {
+ ContainerCommandRequestProto request, KeyValueContainer kvContainer,
ReplicationType replicationType) {
Review Comment:
Ah NVM. Those repeating call sites are just tests. We can avoid adding
overloaded method just for testing.
--
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]