Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 14002 invoked from network); 7 Apr 2011 21:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 21:28:51 -0000 Received: (qmail 21584 invoked by uid 500); 7 Apr 2011 21:28:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 21559 invoked by uid 500); 7 Apr 2011 21:28:49 -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 21550 invoked by uid 99); 7 Apr 2011 21:28:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 21:28:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.171] (HELO mail-px0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 21:28:40 +0000 Received: by pxi7 with SMTP id 7so1559498pxi.30 for ; Thu, 07 Apr 2011 14:28:17 -0700 (PDT) Received: by 10.142.135.8 with SMTP id i8mr1022254wfd.29.1302211697776; Thu, 07 Apr 2011 14:28:17 -0700 (PDT) Received: from marvin.local (CPE-58-160-88-92.bqyn1.lon.bigpond.net.au [58.160.88.92]) by mx.google.com with ESMTPS id p40sm2692870wfc.17.2011.04.07.14.28.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2011 14:28:16 -0700 (PDT) Date: Fri, 8 Apr 2011 07:28:11 +1000 From: Dan Washusen To: user@cassandra.apache.org Message-ID: <9DAB342D01554C5EA6BA6E57E35A2ABC@reactive.org> In-Reply-To: <1302169170.5305.24.camel@mierdi-laptop> References: <1302006619.5305.7.camel@mierdi-laptop> <4d9b1a88.0335640a.75ef.2f64@mx.google.com> <1302011001.5305.12.camel@mierdi-laptop> <1302084225.3044.7.camel@Avalon> <1302169170.5305.24.camel@mierdi-laptop> Subject: Re: RE: batch_mutate failed: out of sequence response X-Mailer: sparrow 1.1.1 (build 685) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4d9e2c6b_45e6d486_18be" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org --4d9e2c6b_45e6d486_18be Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Pelops uses a single connection per operation from a pool that is backed by Apache Commons Pool (assuming you're using Cassandra 0.7). I'm not saying it's perfect but it's NOT sharing a connection over multiple threads. Dan Hendry mentioned that he sees these errors. Is he also using Pelops? From his comment about retrying I'd assume not... -- Dan Washusen On Thursday, 7 April 2011 at 7:39 PM, Héctor Izquierdo Seliva wrote: > El mié, 06-04-2011 a las 21:04 -0500, Jonathan Ellis escribió: > > "out of sequence response" is thrift's way of saying "I got a response > > for request Y when I expected request X." > > > > my money is on using a single connection from multiple threads. don't do that. > > I'm not using thrift directly, and my application is single thread, so I > guess this is Pelops fault somehow. Since I managed to tame memory > comsuption the problem has not appeared again, but it always happened > during a stop-the-world GC. Could it be that the message was sent > instead of being dropped by the server when the client assumed it had > timed out? > --4d9e2c6b_45e6d486_18be Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Pelops uses a single connection per operation from = a pool that is backed by Apache Commons Pool (assuming you're using Cassa= ndra 0.7).  I'm not saying it's perfect but it's NOT sharing a conne= ction over multiple threads.

Dan Hendry mentioned that he sees these errors.  Is he also u= sing Pelops=3F  =46rom his comment about retrying I'd assume not...<= br>
-- 
Dan Washusen
=20 <=21--

On Thursday, 7 = April 2011 at 7:39 PM, H=C3=A9ctor Izquierdo Seliva wrote:

-->

On Thursday, 7 April 2= 011 at 7:39 PM, H=C3=A9ctor Izquierdo Seliva wrote:

El mi=C3=A9, 06-04-2011 a las 21:04 -= 0500, Jonathan Ellis escribi=C3=B3:
=22out of sequence response=22 is thrift's way of saying =22I got a resp= onse
for request Y when I expected request X.=22

my money is on= using a single connection from multiple threads. don't do that.

I'm not using thrift directly, and my application is s= ingle thread, so I
guess this is Pelops fault somehow. Since I managed= to tame memory
comsuption the problem has not appeared again, but it = always happened
during a stop-the-world GC. Could it be that the messa= ge was sent
instead of being dropped by the server when the client ass= umed it had
timed out=3F
=20 =20 =20 =20
=20

--4d9e2c6b_45e6d486_18be--