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 8368118587 for ; Tue, 3 Nov 2015 23:10:33 +0000 (UTC) Received: (qmail 33373 invoked by uid 500); 3 Nov 2015 23:10:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 33284 invoked by uid 500); 3 Nov 2015 23:10:28 -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 33013 invoked by uid 99); 3 Nov 2015 23:10:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 23:10:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1622C2C1F70 for ; Tue, 3 Nov 2015 23:10:28 +0000 (UTC) Date: Tue, 3 Nov 2015 23:10:28 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14279) Race condition in ConcurrentIndex 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-14279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988401#comment-14988401 ] stack commented on HBASE-14279: ------------------------------- Can we get the LockedStripedBag into a state where it could be tried in place of ConcurrentIndex? > Race condition in ConcurrentIndex > --------------------------------- > > Key: HBASE-14279 > URL: https://issues.apache.org/jira/browse/HBASE-14279 > Project: HBase > Issue Type: Bug > Reporter: Hiroshi Ikeda > Assignee: Heng Chen > Priority: Minor > Attachments: HBASE-14279.patch, HBASE-14279_v2.patch, LockStripedBag.java > > > {{ConcurrentIndex.put}} and {{remove}} are in race condition. It is possible to remove a non-empty set, and to add a value to a removed set. Also {{ConcurrentIndex.values}} is vague in sense that the returned set sometimes trace the current state and sometimes doesn't. -- This message was sent by Atlassian JIRA (v6.3.4#6332)