[
https://issues.apache.org/jira/browse/LUCENE-6508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566544#comment-14566544
]
Uwe Schindler commented on LUCENE-6508:
---------------------------------------
I started fixing HdfsLockFactory and Solr:
- I just need to fix tests for Hdfs, the impl is already there - will commit
once I am ready
- HDFS ensureValid() is not yet implemented, but I will more or less copyPaste
from SimpleFS.
- I had to remove the enforcing unlocker in Solr. I also removed the setting
from SolrConfig. With NativeFSLockFactory it cannot happen
anymore. Those using SimpleFS or HdFS need to manually unlock by deleting the
file. I added a messageb about that.
> 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
> Attachments: LUCENE-6508-deadcode1.patch, LUCENE-6508.patch,
> LUCENE-6508.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]