jinmeiliao commented on a change in pull request #7207:
URL: https://github.com/apache/geode/pull/7207#discussion_r772759601



##########
File path: 
geode-cq/src/main/java/org/apache/geode/cache/query/cq/internal/command/CloseCQ.java
##########
@@ -111,6 +112,13 @@ public void cmdExecute(final @NotNull Message 
clientMessage,
       sendCqResponse(MessageType.CQ_EXCEPTION_TYPE, "", 
clientMessage.getTransactionId(), cqe,
           serverConnection);
       return;
+    } catch (AuthenticationExpiredException e) {
+      if (serverConnection.getTransientFlag(REQUIRES_CHUNKED_RESPONSE)) {

Review comment:
       from line 61 of this command, this command does require chunked 
response, I think you can get rid of the if/else block and just send chunked 
exception. Same for the other command




-- 
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]


Reply via email to