Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 906FB19533 for ; Tue, 29 Mar 2016 14:03:34 +0000 (UTC) Received: (qmail 22125 invoked by uid 500); 29 Mar 2016 14:03:30 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 21032 invoked by uid 500); 29 Mar 2016 14:03:27 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 20969 invoked by uid 99); 29 Mar 2016 14:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 14:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8944A2C033A for ; Tue, 29 Mar 2016 14:03:25 +0000 (UTC) Date: Tue, 29 Mar 2016 14:03:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CURATOR-225) Add a new mode ErrorMode.KEEP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CURATOR-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216042#comment-15216042 ] ASF GitHub Bot commented on CURATOR-225: ---------------------------------------- Github user zzcoder commented on the pull request: https://github.com/apache/curator/pull/85#issuecomment-202908099 This PULL request is not needed anymore. > Add a new mode ErrorMode.KEEP > ----------------------------- > > Key: CURATOR-225 > URL: https://issues.apache.org/jira/browse/CURATOR-225 > Project: Apache Curator > Issue Type: New Feature > Components: Framework > Affects Versions: 2.8.0 > Environment: Windows 7/Java 8 > Reporter: Zhihong Zhang > Priority: Minor > Labels: curator, locking, queue > Fix For: awaiting-response > > > When locking is used and consumer throws exception, there are currently 2 modes, REQUEUE and DELETE. In our use-cases, the items in the queue need to keep in the same FIFO order, even in case of the error. A 3rd mode is needed to keep the queue order intact. -- This message was sent by Atlassian JIRA (v6.3.4#6332)