This is an automated email from the ASF dual-hosted git repository.
captainzmc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 7c3be097bb HDDS-9105. [Ozone-Streaming] Checks if the stream container
command is read only or not (#5135)
7c3be097bb is described below
commit 7c3be097bb2e2adc31dc7a93fbe1a08c240fe570
Author: hao guo <[email protected]>
AuthorDate: Fri Aug 11 10:19:25 2023 +0800
HDDS-9105. [Ozone-Streaming] Checks if the stream container command is read
only or not (#5135)
---
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
index b22b16ce4d..ec1805d942 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
@@ -446,6 +446,8 @@ public final class HddsUtils {
case DeleteBlock:
case PutBlock:
case PutSmallFile:
+ case StreamInit:
+ case StreamWrite:
default:
return false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]