Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 710B610F41 for ; Thu, 13 Feb 2014 11:39:13 +0000 (UTC) Received: (qmail 43309 invoked by uid 500); 13 Feb 2014 11:39:10 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 43155 invoked by uid 500); 13 Feb 2014 11:39:00 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 43129 invoked by uid 99); 13 Feb 2014 11:38:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 11:38:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of henrikno@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 11:38:50 +0000 Received: by mail-qc0-f176.google.com with SMTP id e16so17591875qcx.35 for ; Thu, 13 Feb 2014 03:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=x41+EUf6M2Wmf2bds466B6xrUfFjcpvCWsch0cmrlBs=; b=ZZ0ncVqBzUdMzO8MNPxBXLJFOm7GcAqMj363pOOVY8aD/NKfC9qV30O/MFM2ODAGrD Powi0d4usxH9EXpW9MEIqMtAOLb8lRloqz+6dsr+Y66RDjLGeGpZswXotaYIyvMMTVzy 5+m0tJbMTkz1YCj2JaqzeSivV+qGZ7VqmQuWp+LtgGHp++GfKoVthhvlQXEQpwc3DVXh G65NzPRKy+XpCb8OBD5+yxlFjp07foFlwztXLTRHCFpDOjCJuANkX6ltyq0ts9Wcmw7t FGV5XgKV1xy3Em7LIu7bkTZRRaL0vwpfQlVuiY46PKraZHVfbm5dXNjZbasbgEZjlYYv OKSQ== X-Received: by 10.140.81.240 with SMTP id f103mr1449155qgd.104.1392291508207; Thu, 13 Feb 2014 03:38:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.96.200 with HTTP; Thu, 13 Feb 2014 03:37:20 -0800 (PST) From: Henrik Nordvik Date: Thu, 13 Feb 2014 12:37:20 +0100 Message-ID: Subject: LeaderSelector not always requeue-able (CURATOR-73) To: user@curator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, We have experienced several situations where a LeaderSelector does not become eligible to be leaders after being disconnected from zookeeper, even though we periodically call requeue() on it. This happens because the isQueued-flag is not cleared in all cases. Specifically when a leaderselector is waiting on the mutex. I have submitted a proposal for a patch and a test case on the issue, and would like feedback on it. https://issues.apache.org/jira/browse/CURATOR-73 -- Henrik Nordvik