cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Shook (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8869) Normalize prepared query text
Date Thu, 26 Feb 2015 22:26:06 GMT

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

Jonathan Shook commented on CASSANDRA-8869:
-------------------------------------------

We looked at this in more detail. It initially looked like a trivial change, but after digging
in a bit, there are some potentially thorny issues how it might behave in practice.

For example, if you are using 75% of the allotted space for prepared statement caching, then
it would be possible to seriously impact a production load due to a rolling upgrade churning
the cache.

Fixing this issue might not be worth the risk or even the trouble to log a warning.

> Normalize prepared query text
> -----------------------------
>
>                 Key: CASSANDRA-8869
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8869
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Michael Penick
>            Priority: Trivial
>              Labels: lhf
>
> It's possible for equivalent queries with different case and/or whitespace to resolve
to different prepared statement hashes.



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

Mime
View raw message