From issues-return-335683-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed Feb 28 02:47:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4F22E18066D for ; Wed, 28 Feb 2018 02:47:04 +0100 (CET) Received: (qmail 21110 invoked by uid 500); 28 Feb 2018 01:47:02 -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 20873 invoked by uid 99); 28 Feb 2018 01:47:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2018 01:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5584F180637 for ; Wed, 28 Feb 2018 01:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id czLWSTXOtuvM for ; Wed, 28 Feb 2018 01:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0A32E5F3B5 for ; Wed, 28 Feb 2018 01:47:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8A99FE015E for ; Wed, 28 Feb 2018 01:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 493BC240BA for ; Wed, 28 Feb 2018 01:47:00 +0000 (UTC) Date: Wed, 28 Feb 2018 01:47:00 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-19989) READY_TO_MERGE and READY_TO_SPLIT do not update region state correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-19989?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-19989. ------------------------------------ Resolution: Fixed Pushed addendum to branch-1.3, branch-1.4, and branch-1 > READY_TO_MERGE and READY_TO_SPLIT do not update region state correctly > ---------------------------------------------------------------------- > > Key: HBASE-19989 > URL: https://issues.apache.org/jira/browse/HBASE-19989 > Project: HBase > Issue Type: Bug > Affects Versions: 1.3.1, 1.4.1 > Reporter: Ben Lau > Assignee: Ben Lau > Priority: Major > Fix For: 1.3.2, 1.5.0, 1.4.3 > > Attachments: HBASE-19989-ADDENDUM-branch-1.patch, HBASE-19989-bra= nch-1.patch > > > Region state transitions do not work correctly for READY_TO_MERGE/SPLIT.= =C2=A0 [~thiruvel] and I noticed this is due to break statements being in t= he wrong place in AssignmentManager.=C2=A0 This allows a race condition for= example in which one of the regions being merged could be moved concurrent= ly, resulting in the merge transaction failing and then double assignment a= nd/or dataloss.=C2=A0 This bug appears to only affect branch-1 (for example= 1.3 and 1.4) and not branch-2 as the relevant code in AM has since been re= written. -- This message was sent by Atlassian JIRA (v7.6.3#76005)