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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to