lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2991) In 3X, <lockType/> not used consistently in all places Directory objects are instantiated
Date Thu, 29 Dec 2011 16:47:31 GMT
In 3X, <lockType/> not used consistently in all places Directory objects are instantiated
-----------------------------------------------------------------------------------------

                 Key: SOLR-2991
                 URL: https://issues.apache.org/jira/browse/SOLR-2991
             Project: Solr
          Issue Type: Bug
            Reporter: Mark Miller
            Priority: Minor
             Fix For: 3.6


nipunb noted on the mailing list then when configuring solr to use an alternate <lockType/>
(ie: simple) the stats for the SolrIndexSearcher list NativeFSLockFactory being used by the
Directory.

The problem seems to be that SolrIndexConfig is not consulted when constructing Directory
objects used for IndexReader (it's only used by SolrIndexWriter)
I don't _think_ this is a problem in most cases since the IndexReaders should all be readOnly
in the core solr code) but plugins could attempt to use them in other ways.  In general it
seems like a really bad bug waiting to happen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message