[ https://issues.apache.org/jira/browse/ACCUMULO-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser updated ACCUMULO-3856: --------------------------------- Comment: was deleted (was: Apparently, so should subsequent checkstyle/pom sort fixes committed with this same issue number: {{f974f6d}} and {{362b8ac}}. It might be easier to swap the JIRA title/descriptions to match git now...) > ProxyServer.updateAndFlush leaks BatchWriter > --------------------------------------------- > > Key: ACCUMULO-3856 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3856 > Project: Accumulo > Issue Type: Bug > Components: proxy > Reporter: Josh Elser > Priority: Critical > Fix For: 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)