Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C2EC9200B3B for ; Mon, 11 Jul 2016 21:36:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C17FB160A7D; Mon, 11 Jul 2016 19:36:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3C0E8160A5E for ; Mon, 11 Jul 2016 21:36:12 +0200 (CEST) Received: (qmail 67067 invoked by uid 500); 11 Jul 2016 19:36:11 -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 67048 invoked by uid 99); 11 Jul 2016 19:36:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 19:36:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2E4CD2C02A5 for ; Mon, 11 Jul 2016 19:36:11 +0000 (UTC) Date: Mon, 11 Jul 2016 19:36:11 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16208) Make TableBasedReplicationQueuesImpl check that queue exists before attempting to remove it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 11 Jul 2016 19:36:12 -0000 [ https://issues.apache.org/jira/browse/HBASE-16208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371472#comment-15371472 ] Elliott Clark commented on HBASE-16208: --------------------------------------- Is there a race here? Could someone be trying to add that exact queue while you are trying to delete it? > Make TableBasedReplicationQueuesImpl check that queue exists before attempting to remove it > ------------------------------------------------------------------------------------------- > > Key: HBASE-16208 > URL: https://issues.apache.org/jira/browse/HBASE-16208 > Project: HBase > Issue Type: Sub-task > Components: Replication > Reporter: Joseph > Assignee: Joseph > Attachments: HBASE-16208.patch > > > Currently calling TableBasedReplicationQueuesImpl.removeQueue(String queueId) will cause it to delete the row with the given queue id. Yet this row is not created until the first log is registered for the queue. This causes the server to abort if we every try to remove a queue that has not had a log registered to it yet. -- This message was sent by Atlassian JIRA (v6.3.4#6332)