You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2015/03/18 17:25:39 UTC

[jira] [Commented] (CASSANDRA-8989) Reading from table which contains collection type using token function and with CL > ONE causes overwhelming writes to replicas

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

Brandon Williams commented on CASSANDRA-8989:
---------------------------------------------

Can you add the actual trace output?

> Reading from table which contains collection type using token function and with CL > ONE causes overwhelming writes to replicas
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Miroslaw Partyka
>
> When reading from a table at the aforementioned conditions, each read from replica also casues write to the replica. 
> Confimed in version 2.0.12 & 2.0.13, version 2.1.3 seems ok.
> To reproduce:
> CREATE KEYSPACE test WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': 2};
> USE test;
> CREATE TABLE bug(id int PRIMARY KEY, val map<int,int>);
> INSERT INTO bug(id, val) VALUES (1, {2: 3});
> CONSISTENCY LOCAL_QUORUM
> TRACING ON
> SELECT * FROM bug WHERE token(id) <= 0;
> trace contains twice:
> Appending to commitlog
> Adding to bug memtable



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