我重新启动了运行Solr的Google Cloud实例以增加内存。服务器启动后,我启动了zookeeper和Solr实例。我们有一个3节点集群。我们的主要集合在重新启动的节点上显示Down。 Solr日志中有这样的错误
o.a.s.c.ZkContainer :org.apache.solr.common.SolrException: Error while saving shard term for collection: products
at org.apache.solr.cloud.ZkShardTerms.saveTerms(ZkShardTerms.java:307)
at org.apache.solr.cloud.ZkShardTerms.removeTerm(ZkShardTerms.java:182)
at org.apache.solr.cloud.ZkShardTerms.removeTerm(ZkShardTerms.java:173)
at org.apache.solr.cloud.ZkCollectionTerms.remove(ZkCollectionTerms.java:52)
at org.apache.solr.cloud.ZkController.unregister(ZkController.java:1505)
Caused by: org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /collections/products/terms/shard1
at org.apache.zookeeper.KeeperException.create(KeeperException.java:130)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1330)
如何解决? CentOS 7.7上的Solr 7.3.0