You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Antonio Dinis (Jira)" <ji...@apache.org> on 2020/08/26 07:23:00 UTC
[jira] [Created] (SOLR-14779) Solr collections gets wiped on
restart
Antonio Dinis created SOLR-14779:
------------------------------------
Summary: Solr collections gets wiped on restart
Key: SOLR-14779
URL: https://issues.apache.org/jira/browse/SOLR-14779
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Affects Versions: 8.3
Reporter: Antonio Dinis
Hello,
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:
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=/applis/24374-iplsp-00/IPLS/apache-zookeeper-3.5.5-bin/temp
# the port at which the clients will connect
clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org