cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12733) Throw an exception if there is a prepared statement id hash conflict.
Date Fri, 07 Oct 2016 06:48:20 GMT

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

Alex Petrov commented on CASSANDRA-12733:
-----------------------------------------

LGTM

> Throw an exception if there is a prepared statement id hash conflict.
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-12733
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12733
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL
>            Reporter: Jeremiah Jordan
>            Assignee: Jeremiah Jordan
>            Priority: Minor
>             Fix For: 3.x
>
>
> I seriously doubt there is any chance of actually getting two prepared statement strings
that have the same MD5.  But there should probably be checks in QueryProcessor.getStoredPreparedStatement
that the query string of the statement being prepared matches the query string of the ID returned
from the cache when one already exists there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message