Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11BAE187CE for ; Tue, 5 Jan 2016 20:42:40 +0000 (UTC) Received: (qmail 17611 invoked by uid 500); 5 Jan 2016 20:42:40 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 17589 invoked by uid 500); 5 Jan 2016 20:42:40 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 17577 invoked by uid 99); 5 Jan 2016 20:42:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2016 20:42:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C6DF52C1F56 for ; Tue, 5 Jan 2016 20:42:39 +0000 (UTC) Date: Tue, 5 Jan 2016 20:42:39 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-2898) Lack of synchronization for childrenCache in ZooCache#getChildren() 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/ACCUMULO-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-2898: ---------------------------------------- Fix Version/s: 1.8.0 1.7.1 1.6.5 > Lack of synchronization for childrenCache in ZooCache#getChildren() > ------------------------------------------------------------------- > > Key: ACCUMULO-2898 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2898 > Project: Accumulo > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > Fix For: 1.6.5, 1.7.1, 1.8.0 > > > For run() method: > {code} > public void run(ZooKeeper zooKeeper) throws KeeperException, InterruptedException { > if (childrenCache.containsKey(zPath)) > return; > try { > List children = zooKeeper.getChildren(zPath, watcher); > childrenCache.put(zPath, children); > {code} > access to childrenCache isn't protected by ZooCache.this -- This message was sent by Atlassian JIRA (v6.3.4#6332)