amaliujia commented on code in PR #11356:
URL: https://github.com/apache/ozone/pull/11356#discussion_r4192936600
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/DispatcherContext.java:
##########
@@ -120,6 +121,7 @@ public boolean validateToken() {
case WRITE_STATE_MACHINE_DATA:
case READ_STATE_MACHINE_DATA:
case STREAM_LINK:
+ case STREAM_COMMAND:
Review Comment:
This is used for dispatch context but not the stream header:
```
final DispatcherContext context =
DispatcherContext.newBuilder(DispatcherContext.Op.STREAM_COMMAND)
.setStage(DispatcherContext.WriteChunkStage.COMBINED)
.setContainer2BCSIDMap(container2BCSIDMap)
.build();
```
--
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]