Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public static void createRaftClientProperties(ConfigurationSource ozoneConf,
getDatanodeRatisPrefixProps(ozoneConf);
ratisClientConf.forEach((key, val) -> {
if (isClientConfig(key) || isGrpcClientConfig(key)
|| isNettyStreamConfig(key)) {
|| isNettyStreamConfig(key) || isDataStreamConfig(key)) {
raftProperties.set(key, val);
}
});
Expand All @@ -377,6 +377,10 @@ private static boolean isClientConfig(String key) {
return key.startsWith(RaftClientConfigKeys.PREFIX);
}

private static boolean isDataStreamConfig(String key) {
return key.startsWith(RaftConfigKeys.DataStream.PREFIX);
}

private static boolean isGrpcClientConfig(String key) {
return key.startsWith(GrpcConfigKeys.PREFIX) &&
!key.startsWith(GrpcConfigKeys.TLS.PREFIX) &&
Expand Down