[ https://issues.apache.org/jira/browse/LUCENE-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548120#comment-14548120 ]
ASF subversion and git services commented on LUCENE-6488: --------------------------------------------------------- Commit 1680039 from [~jpountz] in branch 'dev/trunk' [ https://svn.apache.org/r1680039 ] LUCENE-6488: Fix eol-style on TestHandleTrackingFS.java. > HandleTrackingFs leaks files if #onClose throws an exception > ------------------------------------------------------------ > > Key: LUCENE-6488 > URL: https://issues.apache.org/jira/browse/LUCENE-6488 > Project: Lucene - Core > Issue Type: Bug > Components: modules/test-framework > Affects Versions: 5.1 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Priority: Minor > Fix For: Trunk, 5.x, 5.2 > > Attachments: LUCENE-6488.patch, LUCENE-6488.patch > > > if #onClose throws an exception for instance due to an error in #onOpen we > leak the filehandle since we don't call super.close(). I ran into this in > Elasticsearch tests where files are concurrently deleted and we got a > WindowsFS -> LeakFS -> UnixFs. The UnixFS opened the file but by the time > WindowsFS tried to read the files metadata it was already deleted causing > onOpen to barf and we leaked the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org