lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: Solr 5.x bug with Service installation script?
Date Tue, 10 May 2016 14:37:23 GMT
On 5/9/2016 11:30 AM, A Laxmi wrote:
> yes, I always shutdown both source and destination Solr before copying the
> index over from one to another. Somehow the write.lock only happens when
> Solr restarts from service script. If loads just fine when started manually.

One possible problem:

The bin/solr script (which is used by the init script) only waits for 5
seconds for Solr to stop gracefully before killingit forcibly.  This can
leave write.lock files behind.

I thought it had increased to 30 seconds in a recent version and that it
was possibly even configurable in solr.in.sh, but I just checked the
6.0.0 download.  It's still only 5 seconds, and the value is hard-coded
in the script.  This is only enough time if you have a very small number
of very small indexes.

Thanks,
Shawn


Mime
View raw message