From user-return-2454-apmail-thrift-user-archive=thrift.apache.org@thrift.apache.org Thu Oct 13 18:06:06 2011 Return-Path: X-Original-To: apmail-thrift-user-archive@www.apache.org Delivered-To: apmail-thrift-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 8F37093CF for ; Thu, 13 Oct 2011 18:06:06 +0000 (UTC) Received: (qmail 27001 invoked by uid 500); 13 Oct 2011 18:06:06 -0000 Delivered-To: apmail-thrift-user-archive@thrift.apache.org Received: (qmail 26975 invoked by uid 500); 13 Oct 2011 18:06:06 -0000 Mailing-List: contact user-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@thrift.apache.org Delivered-To: mailing list user@thrift.apache.org Received: (qmail 26967 invoked by uid 99); 13 Oct 2011 18:06:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 18:06:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=4267b58ec9=mike.margozzi@quantum.com designates 67.231.144.126 as permitted sender) Received: from [67.231.144.126] (HELO mx0a-000ceb01.pphosted.com) (67.231.144.126) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 18:05:58 +0000 Received: from pps.filterd (m0000160 [127.0.0.1]) by mx0a-000ceb01.pphosted.com (8.14.3/8.14.3) with SMTP id p9DI51x3016085 for ; Thu, 13 Oct 2011 11:05:36 -0700 Received: from ppoq3mim3.quantum.com ([146.174.255.212]) by mx0a-000ceb01.pphosted.com with ESMTP id 10e4rtr0xk-15 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 13 Oct 2011 11:05:36 -0700 Received: from PPOMSGVA.QUANTUM.COM ([10.50.2.156]) by ppoq3mim3.QUANTUM.COM with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Oct 2011 12:05:27 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: out of sequence response Date: Thu, 13 Oct 2011 12:05:27 -0600 Message-ID: <369C6AFF6F3A3A4582C0BD25142867D315E9B9A1@PPOMSGVA.QUANTUM.COM> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: out of sequence response Thread-Index: AcyJyjMCfyxNMYhNTq6ZR2EKPLjdegACFtZg References: <369C6AFF6F3A3A4582C0BD25142867D3156EC099@PPOMSGVA.QUANTUM.COM> From: "Mike Margozzi" To: X-OriginalArrivalTime: 13 Oct 2011 18:05:27.0966 (UTC) FILETIME=[B03A73E0:01CC89D2] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-10-13_05:2011-10-13,2011-10-13,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1110130191 X-Virus-Checked: Checked by ClamAV on apache.org I am using 0.6.1 I have a Java client talking to a C++ backend. -----Original Message----- From: Joel Meyer [mailto:joel.meyer@gmail.com]=20 Sent: Thursday, October 13, 2011 10:04 AM To: user@thrift.apache.org Subject: Re: out of sequence response What libraries are you using? I encountered the same issue when using Java client to talk to an Erlang server. There was an issue in the erlang library where the wrong sequence number was being returned (it may always have been setting 0 or something like that). It's fixed in a recent build. I think Java didn't care about seq numbers until 0.6 or thereabouts, because I didn't have the problem when using 0.5 libs. Joel On Fri, Sep 23, 2011 at 3:52 PM, Mike Margozzi wrote: > Can anyone please shed some light on this 'out of sequence response" > error I am getting? > > I searched around and read everything I could find on the Thrift web > site. I also spent a > > fair amount of time with Google. Unfortunately I didn't find anything to > help me decide > > exactly what the problem is and how I can go about resolving it. > > > > When I make two thrift calls back to back, I get the error. > > > > I am assuming that this is what goes on: > > > > Request( seq=3D1 ) > > Request( seq=3D2 ) > > > > Response( Seq=3D2 ) > > Response( Seq=3D1) > > > > I don't understand why things would need to come back in the same order. > > > Seems the response could be lined up with the request by the sequence > number. > > > > What am I missing here? What do I need to do the resolve this issue? > > Any help is appreciated. > > > > Mike > > > > > > > > > > > > ---------------------------------------------------------------------- > The information contained in this transmission may be confidential. Any > disclosure, copying, or further distribution of confidential information is > not permitted unless such privilege is explicitly granted in writing by > Quantum. Quantum reserves the right to have electronic communications, > including email and attachments, sent across its networks filtered through > anti virus and spam software programs and retain such messages in order to > comply with applicable data security and retention requirements. Quantum is > not responsible for the proper and complete transmission of the substance of > this communication or for any delay in its receipt. >