amaliujia commented on code in PR #10694:
URL: https://github.com/apache/ozone/pull/10694#discussion_r3619472518
##########
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:
Good point, and I think it is the second part of the proposal: support
PutBlockOnClose in the client side.
I chose to remove the DN side config, and send another PR that depends on
this DN PR which introduces a client config to control the behavior
https://github.com/apache/ozone/pull/10823.
I plan to split the changes to DN and client as two PR. Will continue
iterating the client side PR once this PR is good.
--
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]