Hi list,

we have a Solr Cloud setup with a collection with 4 shards.
We backup this collection once a day.

Each night, we try to restore the latest backup on a test server.
So we restore all shards to the same machine. Upon restore, the solr logs
prints the following:
solr.log.3:25163:java.nio.file.NoSuchFileException:
/tmp/solr_restore_2019-06-30T21_47_53_380/solr.procurement_full.snapshot_tmp/snapshot.shard3/_hx_Lucene50_0.tim
solr.log.3:25190:java.nio.file.NoSuchFileException:
/tmp/solr_restore_2019-06-30T21_47_53_380/solr.procurement_full.snapshot_tmp/snapshot.shard4/_wc_Lucene50_0.tim

When Solr has loaded, these two shards are empty.
Looking at the cores, shard3 and shard4 has index directory set to the
generic data/index. e.g
/var/solr/data/procurement_shard3_replica_n3/data/index
whereas shard1 and shard2 correctly points to data/restore.xxxxxxx, e.g.
/var/solr/data/procurement_shard1_replica_n7/data/restore.20190701015508919

We monitor the restore process by polling
http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=procurement_restore
The restore action never enters a failed, and the last state is "completed":

{
  "responseHeader":{
    "status":0,
    "QTime":540},
  "status":{
    "state":"completed",
    "msg":"found [procurement_restore] in completed tasks"}}


It might well be that there is some error in the backup that we are trying
to restore (although backup finishes without error), which is causing this
problem, but I would expect the restore processs to end up in a failed
state, instead of a state with two functional shards and two empty.

Can anybody help me out here?

Thanks,
/Bjarke

Reply via email to