You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2015/08/17 16:46:46 UTC
[jira] [Commented] (CASSANDRA-10093) Invalid internal query for
static compact tables
[ https://issues.apache.org/jira/browse/CASSANDRA-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699607#comment-14699607 ]
Sylvain Lebresne commented on CASSANDRA-10093:
----------------------------------------------
Pushed a fix for this [here|https://github.com/pcmanus/cassandra/commits/10093]. The patch also adds an assertion in {{Clustering}} serialization that would caught that kind of problem in a clearer way.
CI for the branch: [utests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10093-testall/] and [dtests|http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-10093-dtest/].
> Invalid internal query for static compact tables
> ------------------------------------------------
>
> Key: CASSANDRA-10093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10093
> Project: Cassandra
> Issue Type: Bug
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Fix For: 3.0 beta 1
>
>
> When dealing with static compact table on the CQL side and we do a {{SELECT * FROM table;}} query, we generate the wrong clustering filter. More precisely, we create a name query that selects the {{EMPTY}} clustering, but that's an invalid clustering since static compact table have 1 clustering column (internally at least). What we really want to query is the static parts.
> This is the reason for the failure of some dtests ({{bootstrap_test:TestBootstrap.read_from_bootstrapped_node_test}} for instance). More precisely, the invalid filter created breaks serialization, which is why this is only really a problem on multi-node tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)