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 445131162C for ; Sun, 24 Aug 2014 03:52:53 +0000 (UTC) Received: (qmail 80970 invoked by uid 500); 24 Aug 2014 03:52:52 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 80917 invoked by uid 500); 24 Aug 2014 03:52:52 -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 80905 invoked by uid 99); 24 Aug 2014 03:52:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2014 03:52:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stevenz3wu@gmail.com designates 209.85.160.169 as permitted sender) Received: from [209.85.160.169] (HELO mail-yk0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2014 03:52:25 +0000 Received: by mail-yk0-f169.google.com with SMTP id 131so9645622ykp.0 for ; Sat, 23 Aug 2014 20:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fw47yfTW1IwTDuSZFf2IYSsv5D9x6pkqox0IuXvR7OY=; b=ocwLimXGl/Y62npd7staDBOYQgPatuWsbLw1usnjJhUs3LPKeyyR5E8bIb14eTSCH8 U0vXylK9ijd606K4wRGJJ/AGpZchTVUbIq5UtqH/7IUItjYHYrMPSUznlCrnzOKP/4yT HM/0bMHSmcN11zupCgdA3D8BITfMweVTaj5+P1oZUvbKT8TtPB8pN5pVBp6nkjWqXsAc Vrm9zmErPoBemvTZPUixcoM1nu4OIERV6a0LLD1mOBeFfxTKd9MQXzcwZqQKht24NlUP wZbjyS8OzqbDijaCDw5MTF56pzXBot/V3JOlyE74Hebqj9CB6ictpU81g0vvrUr5FMfO 0gDw== MIME-Version: 1.0 X-Received: by 10.236.99.39 with SMTP id w27mr362807yhf.109.1408852343814; Sat, 23 Aug 2014 20:52:23 -0700 (PDT) Received: by 10.170.129.79 with HTTP; Sat, 23 Aug 2014 20:52:23 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 Aug 2014 20:52:23 -0700 Message-ID: Subject: Re: zookeeper server close connection unexpected From: Steven Wu To: Alexander Shraer Cc: "user@zookeeper.apache.org" , Michi Mutsuzaki Content-Type: multipart/alternative; boundary=20cf300e4ce57e7f66050157ff4f X-Virus-Checked: Checked by ClamAV on apache.org --20cf300e4ce57e7f66050157ff4f Content-Type: text/plain; charset=UTF-8 yes. new server is started from scratch. looks like this is an expected behavior then. let me fix my test. Michi/Alexander, thanks a lot for the help! On Sat, Aug 23, 2014 at 8:43 PM, Alexander Shraer wrote: > > Refusing session request for client /192.168.1.2:52468 as it has seen > zxid > > 0x7 our last zxid is 0x0 client must try another server > > Looks like your new server is started from scratch. The client can't > connect to it since it has seen data that is more up-to-date. This is not > something we introduced in 3.5.0. When a client looses its current server > it uses this rule to find a server who is at least as up-to-date as the > client is, to avoid "going back in time" and loosing consistency. > > > --20cf300e4ce57e7f66050157ff4f--