I figured the attachments would get stripped, but it was worth a shot! It was
just a screenshot showing the version numbers off from each other.
Here are the Master/Slave commit settings:
18
false
6
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Tuesday, June 27, 2017 11:17 AM
To: solr-user <solr-user@lucene.apache.org>
Subject: Re: Master/Slave out of sync
First, attachments are almost always stripped by the mail program, so we can't
see anything.
Hmmm, does look odd. What happens if you issue a commit against the slave via a
url? I.e.
http://server:port/solr/core/update?commit=true?
And what are the autocommit settings on the slave?
Best,
Erick
On Tue, Jun 27, 2017 at 7:22 AM, Pouliot, Scott <
scott.poul...@peoplefluent.com> wrote:
> Hey guys…
>
>
>
> Does anyone else have a problem with the master/slave setup getting
> out of sync and staying that way until I either optimize the core or
> restart SOLR? It seems to be happening more and more frequently these
> days and I’m looking for a solution here. Running SOLR 6.2 on these
> instances using jetty.
>
>
>
> I do see some log entries like the following at the moment, but it has
> happened WITHOUT these errors in the past as well. This error just
> looks like the core is being loaded, so it can’t replicate (as far as I can
> tell):
>
>
>
> 2017-06-23 00:44:08.624 ERROR (indexFetcher-677-thread-1) [ x:Client1]
> o.a.s.h.IndexFetcher Master at: http://master:8080/solr/Client1 is not
> available. Index fetch failed. Exception: Error from server at
> http://master:8080/solr/Client1: Expected mime type
> application/octet-stream but got text/html.
>
>
>
>
>
> Error 503 {metadata={error-class=org.apache.solr.common.
> SolrException,root-error-class=org.apache.solr.common.SolrException},m
> sg=SolrCore
> is loading,code=503}
>
>
>
> HTTP ERROR 503
>
> Problem accessing /solr/Client1/replication. Reason:
>
> {metadata={error-class=org.apache.solr.common.
> SolrException,root-error-class=org.apache.solr.common.SolrException},m
> sg=SolrCore
> is loading,code=503}
>
>
>
>
>
>
>
> Our setup looks something like this:
>
>
>
> Master
>
> Client Core 1
>
> Client Core 2
>
> Client Core 3
>
>
>
> Slave
>
> Client Core 1
>
> Client Core 2
>
> Client Core 3
>
>
>
> Master Config
>
> class="solr.ReplicationHandler"
> >
>
>
>
>
>
> startup
>
> commit
>
>
>
>
>
> 00:00:10
>
>
>
>
>
>
>
> 1
>
>
>
>
>
>
>
> Slave Config
>
> class="solr.ReplicationHandler"
> >
>
>
>
>
>
>
>
> http://master:8080/solr/${solr.core.name}
>
>
>
>
>
>
> 00:00:45
>
>
>
>
>
>
>
> Master screenshot
>
>
>
>
>
> Slave Screenshot
>
>