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 5C37319C04 for ; Mon, 11 Apr 2016 22:56:26 +0000 (UTC) Received: (qmail 71547 invoked by uid 500); 11 Apr 2016 22:56:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71400 invoked by uid 500); 11 Apr 2016 22:56:25 -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 71373 invoked by uid 99); 11 Apr 2016 22:56:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 22:56:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78A422C1F5C for ; Mon, 11 Apr 2016 22:56:25 +0000 (UTC) Date: Mon, 11 Apr 2016 22:56:25 +0000 (UTC) From: "Stephen Yuan Jiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15579) Remove synchronized around nonce in Procedure submit 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-15579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236148#comment-15236148 ] Stephen Yuan Jiang commented on HBASE-15579: -------------------------------------------- fine with me either only ProcedureExecutor.java or all tests. > Remove synchronized around nonce in Procedure submit > ---------------------------------------------------- > > Key: HBASE-15579 > URL: https://issues.apache.org/jira/browse/HBASE-15579 > Project: HBase > Issue Type: Sub-task > Components: proc-v2 > Affects Versions: 2.0.0, 1.2.0, 1.3.0, 1.1.4 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Trivial > Fix For: 2.0.0, 1.3.0, 1.1.5, 1.2.2 > > Attachments: HBASE-15579-v0.patch > > > There is a synchronized in ProcedureExecutor.submitProcedure() that protect the nonce insert. We can get rid of that and just use the nonce concurrent map pufIfMissing -- This message was sent by Atlassian JIRA (v6.3.4#6332)