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 79072200BE3 for ; Thu, 8 Dec 2016 02:24:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 77BA2160B2F; Thu, 8 Dec 2016 01:24:01 +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 E5D73160B26 for ; Thu, 8 Dec 2016 02:24:00 +0100 (CET) Received: (qmail 57107 invoked by uid 500); 8 Dec 2016 01:23:59 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 57070 invoked by uid 99); 8 Dec 2016 01:23:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 01:23:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A7C392C03E7 for ; Thu, 8 Dec 2016 01:23:59 +0000 (UTC) Date: Thu, 8 Dec 2016 01:23:59 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18906) Remove Unnecessary Locks Inside Of Config Business Object Implementations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 01:24:01 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-18906: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Remove Unnecessary Locks Inside Of Config Business Object Implementations > ------------------------------------------------------------------------- > > Key: AMBARI-18906 > URL: https://issues.apache.org/jira/browse/AMBARI-18906 > Project: Ambari > Issue Type: Task > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-18906.patch > > > {{ConfigImpl}} uses internal locks around state which can lead to deadlocks when this in called in the context of other business objects. In most cases, this state-full data does not need locks placed around it. > {{ConfigImpl}} should be changed to: > - No longer store entity information > - No longer require locks around primitive state -- This message was sent by Atlassian JIRA (v6.3.4#6332)