Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A56F200D4B for ; Mon, 13 Nov 2017 05:01:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 172FA160C05; Mon, 13 Nov 2017 04:01:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5E556160BF1 for ; Mon, 13 Nov 2017 05:01:37 +0100 (CET) Received: (qmail 96929 invoked by uid 500); 13 Nov 2017 04:01:36 -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 96911 invoked by uid 99); 13 Nov 2017 04:01:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2017 04:01:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B3D831A0E40 for ; Mon, 13 Nov 2017 04:01:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.151 X-Spam-Level: X-Spam-Status: No, score=-0.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_INFOUSMEBIZ=0.75, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id z7_gnwVvtl6W for ; Mon, 13 Nov 2017 04:01:33 +0000 (UTC) Received: from mail-ua0-f171.google.com (mail-ua0-f171.google.com [209.85.217.171]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D4E8C5FC64 for ; Mon, 13 Nov 2017 04:01:32 +0000 (UTC) Received: by mail-ua0-f171.google.com with SMTP id v27so10500600uav.7 for ; Sun, 12 Nov 2017 20:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ovWIqxm0SKmI+gzttW2D924VcGrF+46TZBBbcHg55c0=; b=HbZlNmaYRYNNykbBP43WXr37KsQP/CKfmR96xGtdGpLhdG2yp7nrrZR/YxCYKvVc9y BEjMrtQPpLZIRBAB04gVuPHfKbq4xsyfx4J+1aGptu5X6VNSxu1uka9Bn6rFW6xyiKS3 jpljfhXfC6rOUpBkxstBBv83VNiJ4Aio0VoCBlh08/TMIM5emzrAasjltPUcB7+vricI +tMHwxp9taodty3cBqsUHWhoauUrx9sczNRorvIlFAjEAeuSbCDKkAVrupLollGdO7ke 8HQSv69FVpvxnkVjqEDow9hIceNQ0o/hpO0x7VW1XOmSTA3FTLcmzHjZEa1KQXuZxCmN +EiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ovWIqxm0SKmI+gzttW2D924VcGrF+46TZBBbcHg55c0=; b=hv8jhhJ1UCVjEk1To1ccl69Q29pMTl6NzcawSkFWgOFQiB7yAm/J0EZpf+5DNvif2H UqKQ5x8VfiDGunrUIQdFpA1krHRd9fKel8N+bjfc8VJ+kl3oaSyqYACQMPVJ0l4Gwvjm Y6Ud2eRTijaALrMIRRDy5I6TXR8V1kCQpL9HLgR41OOIf0G581pc4qs/syfJaqtWF1ZZ p5vVFgqxMBgGRPv+UKld6TQGeO18PN7gLMbLZM2hwL/cVl3umw9eq/pUM+Q6lEYYk+bA gjcFGNtgi/SrNHIhrotL2Z3jEpnrpp81Fxv0Ki0VPgQw++18aOHwQUuUDSiB+ZZe6WBx Tj0w== X-Gm-Message-State: AJaThX54xsQHeblSjrU2Lt9ka2kn/c4ui5YSgTSPkDqKq4pxEb42nli3 r+KzEHEwdGouYpky5GesjZgt9QYDAh5+X0C9/dSwaw== X-Google-Smtp-Source: AGs4zMY1mghjWgsriFeTocw8RbsHza1UXtMrvy1hZAD6o0s6bVX/zetBv9i4CWkoNJ4hu136Qq0HIkDddCr/3Fpjip4= X-Received: by 10.159.47.25 with SMTP id x25mr6612704uaj.46.1510545686097; Sun, 12 Nov 2017 20:01:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.102.195 with HTTP; Sun, 12 Nov 2017 20:01:25 -0800 (PST) From: =?UTF-8?B?6ZmI5a6X5b+X?= Date: Mon, 13 Nov 2017 12:01:25 +0800 Message-ID: Subject: how zookeeper promise FIFO client order To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="089e08250af8097f0d055dd553b3" archived-at: Mon, 13 Nov 2017 04:01:38 -0000 --089e08250af8097f0d055dd553b3 Content-Type: text/plain; charset="UTF-8" I want to know in the following situation, how zookeeper promise client FIFO order. the client sent three operation to server, set a = 1, set b = 1, set ready = true. is it possible to this situation that the set a = 1 is process by the leader, then there is something wrong with this tcp connection, this client reconnect a new tcp connection to the leader, but the set b = 1 operation is on the way. then the client will use the new tcp connection to sent set ready = true operation. so the set a = 1 is operated, set b = 1 is not and set ready = true is operated too. the question is how zab promise client FIFO order? zab can resend all the operation that hasn't be replied from the leader. then in this situation, when the client reconnect to the leader, it will resent the operation set b = 1, set ready = true. is this the way the zab used to primise FIFO order? Thank you all -- --- Blog: http://www.chenzongzhi.info Twitter: https://twitter.com/baotiao Git: https://github.com/baotiao --089e08250af8097f0d055dd553b3--