write-lock issue

2011-11-18 Thread Husain, Yavar
Environment: Solr 1.4 on Windows/MS SQL Server A write lock is getting created whenever I am trying to do a full-import of documents using DIH. Logs say "Creating a connection with the database." and the process is not going forward (Not getting a database connection). So the indexes are no

Re: embedded solr: write lock issue

2007-08-06 Thread Erik Hatcher
Thanks Mike and Yonik! I've upgraded the project to trunk Solr, added in the SingleInstanceLockFactory setting and bumped the write lock timeout. I personally haven't duplicated the issue (all works fine on my development box) but the client will give it a try in their test environment s

Re: embedded solr: write lock issue

2007-08-06 Thread Yonik Seeley
On 8/6/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > 1000 > > Have you tried upping this? The problem might be that you are > commiting every 1.0s, and a single commit eventually might take > longer than this (and you're only waiting 1.0s to acquire the write > lock). With all the locking don

Re: embedded solr: write lock issue

2007-08-06 Thread Mike Klaas
On 6-Aug-07, at 5:38 AM, Erik Hatcher wrote: I'm working on a project that embeds Solr, much like the EmbeddedSolr example posted here . The application generally runs fine, with very rapid handling of indexing and search requests, however at heav

embedded solr: write lock issue

2007-08-06 Thread Erik Hatcher
I'm working on a project that embeds Solr, much like the EmbeddedSolr example posted here . The application generally runs fine, with very rapid handling of indexing and search requests, however at heavy load we're experiencing "Lock obtain timed ou