Well you can stop the solrs :-)
If you are making backup by copying the actual files stored by solr, you
probably want to stop them anyway to make sure everything is consistent
and written to disk. If you dont stop the solrs, at least make sure that
you do a "commit" (not soft) after all incomming writes have been stopped.
If you cannot afford stopping the solrs, when of course you will need to
do something smarter. Maybe it is possible to just close the http
endpoint in your webcontainer (jetty or tomcat or whatever) for a short
while, or close the port on OS level or ...
Regards, Per Steffensen
On 1/16/13 4:02 PM, mizayah wrote:
Is there a way to lock solr for writes?
I don't wona use solr integrated backup because i'm using ceph claster.
What I need is to have consistent data for few seconds to make backup.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Way-to-lock-solr-for-incoming-writes-tp4033873.html
Sent from the Solr - User mailing list archive at Nabble.com.