[
https://issues.apache.org/jira/browse/CASSANDRA-17764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569522#comment-17569522
] Brandon Williams commented on CASSANDRA-17764: ---------------------------------------------- ||Branch||Circle|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-17764-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/550/workflows/c56eb4a7-e393-41c9-a9b8-5aff61e3d69c], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/550/workflows/c94a50d1-751b-432b-bcbb-83e23c586ff0]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-17764-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/549/workflows/ce1cf2d8-7e8e-4cbe-b533-ffe96ebe29bb], [J11|https://app.circleci.com/pipelines/github/driftx/cassandra/549/workflows/8b3af374-12b2-48a4-a9ab-18916a3b071c]| [trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-17764-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/551/workflows/ba8cadb9-025f-46f9-b663-69d9e956d30d], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/551/workflows/353e45a9-0c64-4871-9cb4-245a8279e031]| > 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 > 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]
