[
https://issues.apache.org/jira/browse/CASSANDRA-17764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-17764:
-----------------------------------------
Test and Documentation Plan: run CI
Status: Patch Available (was: Open)
> 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
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 4.0.x, 4.1-rc, 4.x
>
>
> 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 table when it's
> 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: [email protected]
For additional commands, e-mail: [email protected]