Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3005A112C4 for ; Sun, 11 May 2014 03:12:46 +0000 (UTC) Received: (qmail 28051 invoked by uid 500); 10 May 2014 23:28:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93327 invoked by uid 500); 10 May 2014 23:18:43 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 83743 invoked by uid 99); 10 May 2014 23:02:20 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 23:02:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Boying.Lu@emc.com designates 128.221.224.79 as permitted sender) Received: from [128.221.224.79] (HELO mailuogwdur.emc.com) (128.221.224.79) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2014 08:04:08 +0000 Received: from maildlpprd51.lss.emc.com (maildlpprd51.lss.emc.com [10.106.48.155]) by mailuogwprd54.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s4883gio008107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 May 2014 04:03:43 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com s4883gio008107 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1399536223; bh=rgXlm7hl97K34Cw+ZmFVvuC0QFM=; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; b=oijOv1Gtk1IzyJxbJf/qwhHKPSLE6LiA66IJpl3U07T0lqRV7kGFLN6nBKTMu/dgs 5w5zVIH7TGELXYLAMvijpl282JJToXlYR1oW+V8Ps5b90S22KjpBa9l2NLQr2VXON8 N6TYXBmWA1dpeO1Qry6lxCc+rqR4qnf5Ic+RkB0o= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com s4883gio008107 Received: from mailusrhubprd53.lss.emc.com (mailusrhubprd53.lss.emc.com [10.106.48.18]) by maildlpprd51.lss.emc.com (RSA Interceptor) for ; Thu, 8 May 2014 04:03:32 -0400 Received: from mxhub11.corp.emc.com (mxhub11.corp.emc.com [10.254.92.106]) by mailusrhubprd53.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s4883VYQ025983 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 8 May 2014 04:03:31 -0400 Received: from mx26a.corp.emc.com ([169.254.1.77]) by mxhub11.corp.emc.com ([10.254.92.106]) with mapi; Thu, 8 May 2014 04:03:31 -0400 From: "Lu, Boying" To: "user@cassandra.apache.org" Date: Thu, 8 May 2014 04:03:29 -0400 Subject: Query returns incomplete result Thread-Topic: Query returns incomplete result Thread-Index: Ac9qk/24ZQf0ine8T3yyeatABJ8nDQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A61F9EC1481BAA4AA7C462123215431048FF72AA6BMX26Acorpemcc_" MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_A61F9EC1481BAA4AA7C462123215431048FF72AA6BMX26Acorpemcc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, All, I use the astyanax 1.56.48 + Cassandra 2.0.6 in my test codes and do some q= uery like this: query =3D keyspace.prepareQuery(..).getKey(...) .autoPaginate(true) .withColumnRange(new RangeBuilder().setLimit(pageSize).build()); ColumnList result; result=3D query.execute().getResult(); while (!result.isEmpty()) { //handle result here result=3D query.execute().getResult(); } There are 2003 records in the DB, if the pageSize is set to 1100, I get onl= y 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 --_000_A61F9EC1481BAA4AA7C462123215431048FF72AA6BMX26Acorpemcc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, A= ll,

 

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

<= p class=3DMsoNormal>&nbs= p;

query =3D keyspace.prepareQuery(..).getKey(…)

.autoPaginate(true)<= /p>

.withColumnRange(new RangeBuilder().setLimit(pag= eSize).build());

 

ColumnList<Index= ColumnName> result;

result=3D query.execute().getResult();<= o:p>

while (!result.isEmpty()) {

//handle result here

resu= lt=3D query.execute().getResult();

}

 <= /o:p>

There are 2003 records in the DB, if the pageSize is = set to 1100, I get only 2002 records back.<= /p>

and i= f the pageSize is set to 3000, I can get the all 2003 records= back.

 

Does anyone know why? Is it a bug= ?

 

Thanks

 

Boying

 

= --_000_A61F9EC1481BAA4AA7C462123215431048FF72AA6BMX26Acorpemcc_--