ifesdjeen commented on code in PR #4542:
URL: https://github.com/apache/cassandra/pull/4542#discussion_r2781270874


##########
src/java/org/apache/cassandra/cql3/QueryProcessor.java:
##########
@@ -649,8 +649,10 @@ public ResultMessage.Prepared prepare(String queryString, 
ClientState clientStat
                 return createResultMessage(hashWithKeyspace, 
cachedWithKeyspace);
             }
         }
-        else
+        else if (cachedWithoutKeyspace != null || cachedWithKeyspace != null)

Review Comment:
   @jaydeepkumar1984 thanks for elaborating, I think you're right. 
   Just as a nitpick, and if you get a chance, could you add a short comment 
saying "only evict if we know one of the statements is cached".



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

Reply via email to