We would like to use SOLR in "Master-Slave" configuration (3 TLOG
replicas as a "master" and several PULL replicas as "slave" for read
queries). AutoAddReplicas option is turned on. Here is example of
initialization query:
http://10.0.48.200:9092/solr/admin/collections?action=CREATE&autoAddReplicas=true&collection.configName=search_cz&maxShardsPerNode=10&name=search_index&numShards=2&tlogReplicas=2&pullReplicas=2&router.field=routing_key&router.name=compositeId
On picture_1 is screenshot of live configuration from Admin UI.
Then I restart one server which hosts "Slave" nodes. After about 2
minutes when new server starts, AutoAddReplicas process in SOLR creates
new replicas on new server, but it doesn't comply with replica type. It
always start NRT replica, which is wrong.
See picture_2 after server restarting.
Do you have any solution how to automatically survive one server crash
(auto create replica on new server with correct type and migrate data)
when using TLOG and PULL replicas?
Thank you for answer.
David Kovar