You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by "antonio.dinis@bnpparibasfortis.com" <an...@bnpparibasfortis.com> on 2020/08/27 13:12:10 UTC

Solr collections gets wiped on restart

Good morning,


I would like to get some help if possible.



We have a 3 node Solr cluster (ensemble) with apache-zookeeper 3.5.5.

It works fine until we need to restart one of the nodes. Then all the content of the collection gets deleted.

This is a production environment, and every time there is a restart or a crash in one of the services/servers we loose lots of time restoring the collection and work.

This is the way we start the nodes:

su - ipls004p -c "/applis/24374-iplsp-00/IPLS/solr-8.3.0/bin/solr start -cloud -p 8987 -h s01vl9918254 -s /applis/24374-iplsp-00/IPLS/solr-8.3.0/cloud/node1/solr -z s01vl9918254:2181,s01vl9918256:2181,s01vl9918258:2181 -force"

This is the zoo.cfg:
1.      The number of milliseconds of each tick
tickTime=2000
2.      The number of ticks that the initial
3.      synchronization phase can take
initLimit=10
4.      The number of ticks that can pass between
5.      sending a request and getting an acknowledgement
syncLimit=5
6.      the directory where the snapshot is stored.
7.      do not use /tmp for storage, /tmp here is just
8.      example sakes.
dataDir=/applis/24374-iplsp-00/IPLS/apache-zookeeper-3.5.5-bin/temp
9.      the port at which the clients will connect
clientPort=2181
1.      the maximum number of client connections.
2.      increase this if you need to handle more clients
#maxClientCnxns=60
#
3.      Be sure to read the maintenance section of the
4.      administrator guide before turning on autopurge.
#
5.      http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
6.      The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
7.      Purge task interval in hours
8.      Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1
4lw.commands.whitelist=mntr,conf,ruok

server.1=s01vl9918256:3889:3888
server.2=s01vl9918258:3889:3888
server.3=s01vl9918254:3889:3888
#server.4=s01vl9918255:3889:3888





Thanks in advance


Regards, Cordialement,
Antonio Dinis







======================================================
BNP Paribas Fortis disclaimer:
http://www.bnpparibasfortis.com/e-mail-disclaimer.html
 
BNP Paribas Fortis privacy policy:
http://www.bnpparibasfortis.com/privacy-policy.html
 
======================================================