Hi,

I'd guess a non-200 HTTP response code would be more appropriate indeed but 
it's just a detail.

A successful replication will change a few things on the slave:
- increment of generation value
- updated indexVersion value
- lastReplication will have a new timestamp

You can also check for a replication.properties in your slave's data 
directory.

Cheers,

> Should this be considered a bug, or is there something i"m missing?
> 
> Let's say I have a replication slave set up, but without polling. So I'm
> going to manually trigger replication.
> 
> So I do that:  http://example.org/solr/core/replication?command=fetchIndex
> 
> I get a 200 OK _even if_ the masterUrl configured is wrong, has a typo,
> is unreachable, doesn't point at Solr, whatever.  No replication
> actually happened.
> 
> So is it a bug that I get a 200 OK anyway?
> 
> Alternately, where should I look to see if a replication actually
> succeeded?  Just the main log file?

Reply via email to