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 D9B5EF5F5 for ; Tue, 16 Apr 2013 11:32:55 +0000 (UTC) Received: (qmail 57160 invoked by uid 500); 16 Apr 2013 11:32:55 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 56721 invoked by uid 500); 16 Apr 2013 11:32: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 56679 invoked by uid 99); 16 Apr 2013 11:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 11:32:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of german.blanco.blanco@gmail.com designates 209.85.223.194 as permitted sender) Received: from [209.85.223.194] (HELO mail-ie0-f194.google.com) (209.85.223.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 11:32:44 +0000 Received: by mail-ie0-f194.google.com with SMTP id x14so137710ief.5 for ; Tue, 16 Apr 2013 04:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=nfNVXMOtuIU5R8w0zR3EI2uWMIdxYEpdchHiBxJiNjM=; b=qLSGVT5Zpcbs4ZKfJHPS6bJWFAngbDNlV3fI/0yKaseTBoaGXCaUdqp4UIaiB/qr9o sszUpuDvtVwYjwHXjV79h5gfCRmZwDg2JkvPSA6vkm64umdOEpNLYmlIgPGNkz/EwsD4 UypLdKF5a1fAYANkG9bMBVVXLmiN2fKFohRd0TuLdDdE5jhcZe1EpWr5WIWrUsGJaO23 YSZrjKCamK42UBq0O7mbodOF28cBiKYO9BAfyMAW3V+B+tHbXrRQ+BuCikDkeYID20LY SajySN+FDFg+ryaEQFuO4/2K8bBJfLRI/LXG4E81CHvjxxaKsqbX0l8yI8duiJGMm5da x0OQ== MIME-Version: 1.0 X-Received: by 10.50.42.165 with SMTP id p5mr7594512igl.75.1366111943413; Tue, 16 Apr 2013 04:32:23 -0700 (PDT) Received: by 10.50.97.36 with HTTP; Tue, 16 Apr 2013 04:32:23 -0700 (PDT) Date: Tue, 16 Apr 2013 13:32:23 +0200 Message-ID: Subject: timeout per transaction? From: German Blanco To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=14dae93404451c584304da78b94b X-Virus-Checked: Checked by ClamAV on apache.org --14dae93404451c584304da78b94b Content-Type: text/plain; charset=ISO-8859-1 Hello, According to the System Administrator's Guide: syncTime -> Amount of time, in ticks (see tickTime), to allow followers to sync with ZooKeeper. If followers fall too far behind a leader, they will be dropped. In order to check what is the time or number of transactions that a follower may fall behind, I did some tests. I couldn't find a way to make a transaction timeout in the Leader. It seems that the Leader adds transactions to the list of outstanding proposals and they stay there until a commit arrives or otherwise forever. As long as Followers respond to the sync request, the quorum keeps running. Is this really the behaviour? What is then the way in which it is guaranteed that followers do not "fall too far behind a leader"? Thanks in advance for your help. --14dae93404451c584304da78b94b--