You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/05/27 22:51:36 UTC

[jira] [Resolved] (ACCUMULO-3855) ProxyServer.updateAndFlush leaks BatchWriter

     [ https://issues.apache.org/jira/browse/ACCUMULO-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser resolved ACCUMULO-3855.
----------------------------------

Fat-fingered JIRA issue reference on commit.

Fixed in 11f108e252f8358a3ac8b79843f1ebd77bee647e

> ProxyServer.updateAndFlush leaks BatchWriter 
> ---------------------------------------------
>
>                 Key: ACCUMULO-3855
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3855
>             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
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.5.3, 1.6.3, 1.8.0, 1.7.1
>
>
> 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)