accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3856) ProxyServer.updateAndFlush leaks BatchWriter
Date Thu, 28 May 2015 18:45:18 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563446#comment-14563446
] 

Josh Elser commented on ACCUMULO-3856:
--------------------------------------

For historical purposes, ACCUMULO-3856 and ACCUMULO-3855 got transposed a couple of times,
so I switched the content of the two issues.

> 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
>            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)

Mime
View raw message