Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03E61D654 for ; Fri, 12 Oct 2012 23:15:04 +0000 (UTC) Received: (qmail 96763 invoked by uid 500); 12 Oct 2012 23:15:03 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 96727 invoked by uid 500); 12 Oct 2012 23:15:03 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 96714 invoked by uid 99); 12 Oct 2012 23:15:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 23:15:03 +0000 Date: Fri, 12 Oct 2012 23:15:03 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: <1285173341.40099.1350083703693.JavaMail.jiratomcat@arcas> In-Reply-To: <1149984431.109494.1348261028095.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6858) Fix the incorrect BADVERSION checking in the recoverable zookeeper 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/HBASE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475421#comment-13475421 ] Jimmy Xiang commented on HBASE-6858: ------------------------------------ It may not happen at the same time. Suppose one client writes the data. Quite some time later, another client can try to write the same data same version again. That's what I'd like to prevent. I am ok not to have the extra one, just want to be cautious. :) > Fix the incorrect BADVERSION checking in the recoverable zookeeper > ------------------------------------------------------------------ > > Key: HBASE-6858 > URL: https://issues.apache.org/jira/browse/HBASE-6858 > Project: HBase > Issue Type: Bug > Components: Zookeeper > Reporter: Liyin Tang > Assignee: Liyin Tang > Priority: Critical > Fix For: 0.96.0 > > Attachments: HBASE-6858.patch, HBASE-6858_v2.patch, HBASE-6858_v3.patch, trunk-6858.patch, trunk-6858_v2.patch > > > Thanks for Stack and Kaka's reporting that there is a bug in the recoverable zookeeper when handling BADVERSION exception for setData(). It shall compare the ID payload of the data in zk with its own identifier. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira