xiaoyuyao commented on a change in pull request #2254:
URL: https://github.com/apache/ozone/pull/2254#discussion_r635413401
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
##########
@@ -409,10 +414,10 @@ public static boolean requireBlockToken(
public static boolean requireContainerToken(
ContainerProtos.Type cmdType) {
switch (cmdType) {
+ case ListBlock:
Review comment:
Can we leave the unsupported operation such as listContainer/listBlock
as-is to get the proper error (unsupported) response to the caller instead of
token validation error?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]