You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (JIRA)" <ji...@apache.org> on 2016/09/29 19:04:21 UTC

[jira] [Commented] (CASSANDRA-12733) Throw an exception if there is a prepared statement id hash conflict.

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

Jeremiah Jordan commented on CASSANDRA-12733:
---------------------------------------------

||branch||testall||dtest||
|[CASSANDRA-12733-22|https://github.com/JeremiahDJordan/cassandra/tree/CASSANDRA-12733-22]|[testall|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-22-testall/]|[dtest|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-22-dtest/]|
|[CASSANDRA-12733-30|https://github.com/JeremiahDJordan/cassandra/tree/CASSANDRA-12733-30]|[testall|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-30-testall/]|[dtest|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-30-dtest/]|
|[CASSANDRA-12733-3X|https://github.com/JeremiahDJordan/cassandra/tree/CASSANDRA-12733-3X]|[testall|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-3X-testall/]|[dtest|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-3X-dtest/]|
|[CASSANDRA-12733-trunk|https://github.com/JeremiahDJordan/cassandra/tree/CASSANDRA-12733-trunk]|[testall|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-trunk-testall/]|[dtest|http://cassci.datastax.com/job/JeremiahDJordan-CASSANDRA-12733-trunk-dtest/]|

2.2 branch merges cleanly up to trunk.

> 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
>            Reporter: Jeremiah Jordan
>            Assignee: Jeremiah Jordan
>
> 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)