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



##########
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:
       If they changed how the command should receive response, they would have 
to change how the command should send response. I don't think you need to 
complicate your code to do this pre-maturely.




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