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 C8CD318DEB for ; Thu, 28 May 2015 19:01:18 +0000 (UTC) Received: (qmail 62313 invoked by uid 500); 28 May 2015 19:01:18 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 62277 invoked by uid 500); 28 May 2015 19:01:18 -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 62262 invoked by uid 99); 28 May 2015 19:01:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2015 19:01:18 +0000 Date: Thu, 28 May 2015 19:01:18 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-3856) ProxyServer.updateAndFlush leaks BatchWriter 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-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser resolved ACCUMULO-3856. ---------------------------------- Resolution: Fixed > ProxyServer.updateAndFlush leaks BatchWriter > --------------------------------------------- > > Key: ACCUMULO-3856 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3856 > Project: Accumulo > Issue Type: Bug > Components: proxy > Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0 > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Critical > Fix For: 1.5.3, 1.6.3, 1.8.0, 1.7.1 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > updateAndFlush creates a new BatchWriter, adds the updates, then tries to flush and close the BatchWriter. > If the flush or addMutations fails (such as the case in SimpleProxyBase ITs where we make sure that constraints fire), this will leak that BatchWriter threads. > The BatchWriter should be closed in a finally block. -- This message was sent by Atlassian JIRA (v6.3.4#6332)