[ 
https://issues.apache.org/jira/browse/CASSANDRA-17764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569686#comment-17569686
 ] 

Brandon Williams commented on CASSANDRA-17764:
----------------------------------------------

Whoops, 
[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/553/workflows/30e249ec-ac2c-4186-a27c-7e76baf6b83c],
 
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/553/workflows/8999aa80-d7a8-4356-9630-61db41fd084a]

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

Reply via email to