[
https://issues.apache.org/jira/browse/LUCENE-6060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214626#comment-14214626
]
Michael McCandless commented on LUCENE-6060:
--------------------------------------------
I think SimpleFSLockFactory is still able to leave leftover write.lock in the
index ... it doesn't use deleteOnExit, so that JVM bug doesn't apply to it.
> Remove IndexWriter.unLock
> -------------------------
>
> Key: LUCENE-6060
> URL: https://issues.apache.org/jira/browse/LUCENE-6060
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 4.10, 5.0, Trunk
>
> Attachments: LUCENE-6060.patch
>
>
> This method used to be necessary, when our locking impls were buggy, but it's
> a godawful dangerous method: it invites index corruption.
> I think we should remove it.
> Apps that for some scary reason really need it can do their own thing...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]