Hi all,

Not sure if this is a bug or not, but in versions 6.3.0 and 7.2.1 it seems
that an async backup task is put into "completed tasks" even though it
seems to have failed during processing:

Response:
... "testbackup213286829099257358":{
    "responseHeader":{
      "status":0,
      "QTime":0},
    "STATUS":"failed",
    "Response":"Failed to backup core=test_shard1_replica_n2 because
java.nio.file.NoSuchFileException:
/opt/solrdata/solr7_dev/data/test_shard1_replica_n2/data/index/segments_41"},
  "status":{
    "state":"completed",
    "msg":"found [testbackup2] in completed tasks"}}

It seems to only happen when indexing is taking place. Backups work fine
for static collections.

Is it possible to use the Collections API to backup a collection while that
collection is being indexed? Or do we need to use the Snapshot and Backup
functionality of the Core API to do this one shard at a time?

Thanks,
Chris

Reply via email to