incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Boying" <Boying...@emc.com>
Subject Query returns incomplete result
Date Thu, 08 May 2014 08:03:29 GMT
Hi, All,

I use the astyanax 1.56.48 + Cassandra 2.0.6 in my test codes and do some query like this:

query = keyspace.prepareQuery(..).getKey(...)
.autoPaginate(true)
.withColumnRange(new RangeBuilder().setLimit(pageSize).build());

ColumnList<IndexColumnName> result;
result= query.execute().getResult();
while (!result.isEmpty()) {
//handle result here
result= query.execute().getResult();
}

There are 2003 records in the DB, if the pageSize is set to 1100, I get only 2002 records
back.
and if the pageSize is set to 3000, I can get the all 2003 records back.

Does anyone know why? Is it a bug?

Thanks

Boying


Mime
View raw message