[ https://issues.apache.org/jira/browse/LUCENE-6508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563862#comment-14563862 ]
Robert Muir commented on LUCENE-6508: ------------------------------------- Agreed, I will make a branch, it will take time. I still want to improve tests around this as well. Some new tests from LUCENE-6507 are better, but to me its still not ideal. I think we should move to a kind of BaseLFTestCase like our other important classes and each impl has a subclass with additional tests for its own pecularities. > Simplify Directory/lock api > --------------------------- > > Key: LUCENE-6508 > URL: https://issues.apache.org/jira/browse/LUCENE-6508 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Assignee: Uwe Schindler > > See LUCENE-6507 for some background. In general it would be great if you can > just acquire an immutable lock (or you get a failure) and then you close that > to release it. > Today the API might be too much for what is needed by IW. -- 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