[ 
https://issues.apache.org/jira/browse/CASSANDRA-17764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-17764:
-----------------------------------------
     Bug Category: Parent values: Correctness(12982)
       Complexity: Low Hanging Fruit
    Discovered By: User Report
    Fix Version/s: 4.1-rc
                   4.x
         Severity: Normal
           Status: Open  (was: Triage Needed)

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