szetszwo commented on code in PR #10694:
URL: https://github.com/apache/ozone/pull/10694#discussion_r3589594530
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeConfiguration.java:
##########
@@ -535,6 +535,17 @@ public class DatanodeConfiguration extends
ReconfigurableConfig {
private boolean waitOnAllFollowers = WAIT_ON_ALL_FOLLOWERS_DEFAULT;
+ public static final String HDDS_DATANODE_DATASTREAM_PUTBLOCK_ENABLED =
+ CONFIG_PREFIX + ".datastream.putblock.enabled";
Review Comment:
It seems better to make it a client side conf. We may add a new
ContainerProtos.Type, say StreamInitWithPutBlock and set it in the following
line:
-
https://github.com/apache/ozone/blob/398709d6b68312306149144795c5796d4d3fa8b3/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockDataStreamOutput.java#L216
Then, server could support both V2 and V3 at the same time.
--
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]