dcapwell commented on code in PR #2190:
URL: https://github.com/apache/cassandra/pull/2190#discussion_r1125104085


##########
src/java/org/apache/cassandra/transport/messages/ExecuteMessage.java:
##########
@@ -137,8 +138,8 @@ protected Message.Response execute(QueryState state, long 
queryStartNanoTime, bo
 
             if (!prepared.fullyQualified
                 && !Objects.equals(state.getClientState().getRawKeyspace(), 
prepared.keyspace)
-                // We can not reliably detect inconsistencies for batches yet
-                && !(prepared.statement instanceof BatchStatement)
+                // We can not reliably detect inconsistencies for batches/txn 
yet
+                && !(prepared.statement instanceof BatchStatement || 
prepared.statement instanceof TransactionStatement)

Review Comment:
   makes me wonder if this should be an interface



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