You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (Jira)" <ji...@apache.org> on 2022/07/21 16:07:00 UTC

[jira] [Created] (CASSANDRA-17764) Extra writePreparedStatement call

T Jake Luciani created CASSANDRA-17764:
------------------------------------------

             Summary: Extra writePreparedStatement call
                 Key: CASSANDRA-17764
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17764
             Project: Cassandra
          Issue Type: Bug
          Components: Local/Caching
            Reporter: T Jake Luciani


There seems to be a double insert happening in QueryProcessor.storePreparedStatement()

 

[https://github.com/apache/cassandra/blob/ab9ab903fa590409251e97fe075e02a64c8aa4f3/src/java/org/apache/cassandra/cql3/QueryProcessor.java#L788-L791]

 

I think it's intended to only write to prepared statement when its new to the cache vs every prepare call.  Regardless the extra one should be dropped.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org