[ 
https://issues.apache.org/jira/browse/SOLR-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Will Johnson updated SOLR-240:
------------------------------

    Attachment: IndexWriter2.patch

the attached patch adds a param to SolrIndexConfig called useNativeLocks.  the 
default is false which will keeps with the existing design using 
SimpleFSLockFactory.  if people think we should allow fully pluggable locking 
mechanisms i'm game but i wasn't quite sure how to tackle that problem.  

as for testing, i wasn't quite sure how to run tests to ensure that the locks 
were working beyond some basic println's (which passed).  if anyone has good 
ideas i'm all ears.

- will


> java.io.IOException: Lock obtain timed out: SimpleFSLock
> --------------------------------------------------------
>
>                 Key: SOLR-240
>                 URL: https://issues.apache.org/jira/browse/SOLR-240
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.2
>         Environment: windows xp
>            Reporter: Will Johnson
>         Attachments: IndexWriter.patch, IndexWriter2.patch, stacktrace.txt, 
> ThrashIndex.java
>
>
> when running the soon to be attached sample application against solr it will 
> eventually die.  this same error has happened on both windows and rh4 linux.  
> the app is just submitting docs with an id in batches of 10, performing a 
> commit then repeating over and over again.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to