Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-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 1E21A99E5 for ; Wed, 22 Aug 2012 00:56:38 +0000 (UTC) Received: (qmail 13383 invoked by uid 500); 22 Aug 2012 00:56:37 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 13326 invoked by uid 500); 22 Aug 2012 00:56:37 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 13249 invoked by uid 99); 22 Aug 2012 00:56:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 00:56:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 00:56:30 +0000 Received: by pbbrp8 with SMTP id rp8so558090pbb.15 for ; Tue, 21 Aug 2012 17:56:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=NYOCUbQPxCE+4Tj/2MAdaGrsRQbywDW1ju6a5+vgBWc=; b=ijWEbU2AcsbKaDIA7D7TEhDRl1CUH6GtkIqpqXtHsjzaiKJBFtRPX4PcPvCZIZg9+l pOz5jrA5c+cZ7iltxYemUgnsZ1yVATW6WTCx5EsBiJnvAwc+z1ReZdtZ416maPousgRg Nt4d74HVmxFBsLo0XnZOKMOlBKHjByi8id/9SACnh5TLCqJaqe7Mz1WsTWI1eVHjp5XJ HDnn8ElJ4X13R4B3evDoSxmdLEsq6OweYaEykgleYR7Y7cSSEDH37zCwiYyHDrX21VPH d3W11gcYWpWAZgItbW9gAYfVd90Rs3aWPv9qy+qXCvfEexLI1LRzgA5jJFl1u7LapfVU a0EQ== Received: by 10.68.129.164 with SMTP id nx4mr48142944pbb.28.1345596970229; Tue, 21 Aug 2012 17:56:10 -0700 (PDT) Received: from [192.168.2.6] (70-36-159-4.dsl.dynamic.sonic.net. [70.36.159.4]) by mx.google.com with ESMTPS id b4sm2509872pbw.28.2012.08.21.17.56.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 17:56:09 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Subject: Re: Testing expired sessions bug? From: Ben Bangert In-Reply-To: Date: Tue, 21 Aug 2012 17:56:07 -0700 Cc: user@zookeeper.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <439D61B1-C8B3-4B05-B7E0-198C88CA010A@groovie.org> References: <1FCADC4C-1502-484E-BD8F-927FF2399565@groovie.org> <653DE529-FA91-42FC-B289-605742145835@netflix.com> <87CF69C4-0626-42BB-90B4-3C2300E7E304@groovie.org> <7EBECDD1-27AF-412C-8982-581C5125C728@groovie.org> To: michi@cs.stanford.edu X-Mailer: Apple Mail (2.1485) X-Gm-Message-State: ALoCoQldK0C/vg85WPzCvLxO6PQ25ybKeJ6tP0L/GedseLbFmYqcrZ0J9BZb593E4MZPMF0X8Iei X-Virus-Checked: Checked by ClamAV on apache.org On Aug 21, 2012, at 4:31 PM, Michi Mutsuzaki = wrote: > That might work, but I couldn't say for sure since I haven't tried > that myself. Please give it a shot and let us know! So the C binding doesn't work when loading a session ID if another = process on the same computer is already using that? How come the tests = pass most of the time? It'd help a lot for us to look into patching this if we had some = overview of why the C binding is managing state in an apparently global = way such that two clients with the same session ID can't connect from = the same computer... some of the time. I switched my unit tests to spinning up a separate process that connects = and closes the file handle in a separate process, which dropped how = often this occurs a little more, but not completely. Cheers, Ben=