On 2022/03/15 15:37:59 "Ing. Andrea Vettori" wrote:
> in our setup we have two Solr servers and we index documents to both
> (we keep track of the last sync for each server so they can also be
> not aligned in a certain moment for example for maintenance).

Thank you for proposing this simple setup. How do you "keep track of the
last sync"? Do you somehow keep track of that inside Solr, or is it
manual record keeping? (e.g. in a physical notebook)

> The clients use SolrJ and we have an adapter that creates “sessions”
> using round robin. Once a client has a session, it’s tied to one
> server (for consistency). If the server goes down, the session is
> switched to the other server and the same query is repeated. If both
> servers are down the adapter returns an error.
>
> This setup can be easily extended for any number of servers.

> We find this setup very useful to do maintenance or upgrading the Solr
> version.

When one of the Solr servers goes offline for maintenance, how do you
make it "catch up" with the other server when it comes online again?
In other words, how do you keep the two servers in sync?

Reply via email to