Hello Houston,

Indeed, upon reading the documentation again, I now see this text, which I
must have missed before: SolrCloud Backup/Restore requires a shared file
system mounted at the same path on all nodes, or HDFS.

My bad. Could stand to be even bigger, I think. The text.

Thanks for contacting me about this.

Kind regards,
Koen De Groote



On Thu, Feb 20, 2020 at 7:04 PM Houston Putman <houstonput...@gmail.com>
wrote:

> From my experience, you need all nodes to have access to the shared
> storage.
> Solr will pick which nodes should write each shard's data, and you do not
> have a lot of control over which nodes are selected.
> This is why in the documentation it says that the backup must be written to
> NFS or HDFS.
> Solr won't try to retrieve the other replicas over the network.
>
> I think you will actually get an error back when not every node is able to
> see the path where the backup should be written.
> But even if you don't receive an error, the backup will not work.
>
> - Houston
>
>
>
> On Thu, Feb 20, 2020 at 11:26 AM Koen De Groote <
> koen.degro...@limecraft.com>
> wrote:
>
> > Hello all,
> >
> > I've recently set up backups, using solr 7.6
> >
> > My setup has 3 replicas per collection and several collections. Not all
> > collections or replicas are present on all hosts.
> >
> > That being said, I run the backup command from 1 particular host and only
> > that host has access to the mount on which the backup data will be
> written.
> >
> > This means that the host writing the backup data doesn't have all the
> data
> > on its local filesystem.
> >
> > Is this a problem?
> >
> > By which I mean: will data not present on that host be retrieved over the
> > network?
> >
> > What happens in this case?
> >
> > Kind regards,
> > Koen De Groote
> >
>

Reply via email to