简体   繁体   English

集合备份和还原问题

[英]Issue with Collection backup and restore

I have a Solr Cloud with 2 node cluster. 我有一个带有2个节点集群的Solr Cloud。 It has 2 replicas one on each node with a single shard. 它在每个节点上有2个副本,每个副本带有一个分片。

The cores created are {collection_name}_shard1_replica1 and {collection_name}_shard1_replica2. 创建的核心是{collection_name} _shard1_replica1和{collection_name} _shard1_replica2。

When I perform a collection backup, and restore into a new collection, the documents are indexed properly on both the nodes, However the cores created are named differently {collection_name}_shard1_replica0 and {collection_name}_shard1_replica1 当我执行集合备份并还原到新集合中时,两个节点上的文档均已正确建立索引,但是创建的核心的命名方式不同:{collection_name} _shard1_replica0和{collection_name} _shard1_replica1

Additionally, when I delete or add documents it gets only deleted from one node which means the replication does not work. 另外,当我删除或添加文档时,它只会从一个节点中删除,这意味着复制无效。 I also noticed on one node I do not have the index folder on one of the nodes from where document is not getting deleted or added. 我还注意到,在一个节点上,没有从中删除或添加文档的节点之一上没有索引文件夹。

What could I be possibly doing wrong? 我可能做错了什么?

因此,所有对解决方案感兴趣的人都按顺序重新启动了所有节点(仍然无法理解为什么需要并在文档中缺少它)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM