Houston Putman created SOLR-18205:
-------------------------------------
Summary: Allow Restore/InstallShardData to control which replicas
pull the data
Key: SOLR-18205
URL: https://issues.apache.org/jira/browse/SOLR-18205
Project: Solr
Issue Type: Improvement
Components: Backup/Restore
Reporter: Houston Putman
Currently when issuing a {{Restore}} or {{InstallShardData}} command, every
replica of that collection/shard will be pulling the data from the backup
repository. However, as of SOLR-17821, {{InstallShardData}} and {{Restore}} can
handle replicas that do not successfully pull the data, and have them recover
from the successful replicas. This means that we can leverage this
functionality to have a subset of replicas pull the data, and then the rest of
the replicas will go through regular recovery and replication to ensure that
they have the data.
Some of the options we can enable on {{InstallShardData}} and {{{}Restore{}}}:
* Install to Leaders only
* Install to NRT/TLOG replicas only
* Install to {{x}} replicas maximum
After SOLR-17821, {{Restore}} ultimately calls {{{}InstallShardData{}}}, so
beyond adding options to the API, the bulk of this logic will only really have
to be implemented in InstallShardData
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]