cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Wille (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10442) Paging returns duplicate records
Date Sat, 03 Oct 2015 20:33:26 GMT
Robert Wille created CASSANDRA-10442:
----------------------------------------

             Summary: Paging returns duplicate records
                 Key: CASSANDRA-10442
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10442
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Wille


When I execute "SELECT image FROM roll WHERE roll = ?" against

CREATE TABLE roll (
	roll INT,
	image BIGINT,
	data VARCHAR static,
	PRIMARY KEY ((roll), image)
) WITH gc_grace_seconds = 3456000 AND compaction = { 'class' : 'LeveledCompactionStrategy',
'sstable_size_in_mb' : 160 };

The image returned from the query is duplicated every fetchSize records (i.e. 1, 2, 3, 3,
4, 5, 6, 6, etc). I can reproduce this easily 100% of the time in Cassandra 2.0.16 with Java
Driver 2.0.11 and RF=3 and CL=QUORUM or ONE. If you need sample code, I can provide, but given
the simplicity, I suspect it will be easy to reproduce.

I realize this bug might be in the Java driver, but I don't know, so I'm logging it here.



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

Mime
View raw message