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 04299DC5F for ; Sat, 6 Oct 2012 16:52:44 +0000 (UTC) Received: (qmail 209 invoked by uid 500); 6 Oct 2012 16:52:43 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 166 invoked by uid 500); 6 Oct 2012 16:52:43 -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 156 invoked by uid 99); 6 Oct 2012 16:52:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 16:52:43 +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 (nike.apache.org: local policy) Received: from [209.85.220.42] (HELO mail-pa0-f42.google.com) (209.85.220.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 16:52:34 +0000 Received: by mail-pa0-f42.google.com with SMTP id fa1so2371984pad.15 for ; Sat, 06 Oct 2012 09:52:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer:x-gm-message-state; bh=82NHhiDoQTY+WRL3abpFVo+5ZvydWrv6PZkiARtCPdM=; b=Ih+G4kXjdik63b7+GuxNIMKzM6HaKGY8AC+JfrmD0QLcEsC7PkDCNsqmawWIzOBO4Q z7V39sKYfh1ARytT7HvLllOTJTv1jPSxVb/S+VZnWEJ3Jds3dwiSxpI76YymVRD7ip0d QljSnyB30BQfyYxgn3nhfoPi9nakGJoXweD+A1a4kJv4QvBt/7rZIRMVcQKJqYudskb/ EsaZiGC9m8290fh8r7bKzBHGpDs/7KFH6M9r2qjL6VxDmgbuphojKF8c+CIoLtqqNmBf keo9eO2m+2XFNuWRy9ymDJs+S5J4doPSwXicLHNojnkHoisOJasvmwVNK0IhKiWou64n DkHw== Received: by 10.66.81.66 with SMTP id y2mr30187114pax.62.1349542332751; Sat, 06 Oct 2012 09:52:12 -0700 (PDT) Received: from [10.2.2.41] ([64.9.231.142]) by mx.google.com with ESMTPS id jw14sm7879589pbb.36.2012.10.06.09.52.10 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 09:52:11 -0700 (PDT) From: Jordan Zimmerman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: ANN: Curator 1.2.3 Message-Id: <30034118-1B90-40EE-98A7-40130B9ED88F@jordanzimmerman.com> Date: Sat, 6 Oct 2012 09:52:11 -0700 To: "user@zookeeper.apache.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQnDcgi/MS+FGAfk2wmX6YZiYaPwLVZWD8OSI+tIfOnls7NPisKv416WKPah7vrsU2qOZVL3 * Previously, all background operations (i.e. when the inBackground() = method is used) were put into a queue and processed in an internal thread. Curator does = this to handle retries in background operations. This can be improved, however. The first time the = background operation is executed the ZooKeeper method can be called directly - without queuing. = This will get the operation into ZooKeeper immediately and will help prevent Curator's internal = queue from backing up. * Issue 173: The DistributedQueue (and, thus, all the other queue = recipes) was unnecessarily calling getChildren (with a watch) after each group of children was = processed. It can just as easily wait for the internal cache to get its watch notified. This change = creates an edge case, though, for ErrorMode.REQUEUE. Consequently, when in mode ErrorMode.REQUEUE the = DistributedQueue now deletes the bad message and re-creates it. This required the use of = ZooKeeper 3.4.x's transactions. So, if you use ErrorMode.REQUEUE you MUST be running ZooKeeper 3.4+.