did you double check
http://machine:port/solr/website/admin/replication/ to see the
"master" is indeed a master?

On Mon, Dec 13, 2010 at 1:01 PM, Ralf Mattes <r...@seid-online.de> wrote:
> On Mon, 13 Dec 2010 12:31:27 -0500, Xin Li wrote:
>
>> " indexversion returned by the indexversion command is 0 while the same
>> information from the details command is 292192351652 ..."
>>
>> This only happens to a Slave machine. For a Master machine, indexversion
>> returns the same number as details command.
>
> ??? What part of my posted example did you not read? :-)
> Both requests where sent to the same machine (configured as master) - and I 
> get
> exactly the result described. So, no, for my setup (pretty much out-of-the-box
> with minimal master/slave configuration) your statement is wrong :-/
>
>  Thanks, RalfD
>
>
>
>
>>
>>
>>
>> On Mon, Dec 13, 2010 at 11:06 AM, Ralf Mattes <r...@seid-online.de> wrote:
>>> Hello list,
>>>
>>> I'm trying to set up a replicating solr system (one master, one slave)
>>> here. Everything _looks_ o.k. but replication fails. A little debugging
>>> shows the following:
>>>
>>>  r...@slave:~# curl
>>>  'http://master:8180/solr/website/replication?command=indexversion&wt=json'
>>>  && echo ''
>>> {"responseHeader":{"status":0,"QTime":0},"indexversion":0,"generation":0}
>>>
>>>  r...@slave:~# curl
>>>  'http://master:8180/solr/website/replication?command=details&wt=json'
>>>  && echo ''
>>> {"responseHeader":{"status":0,"QTime":1},"details":{"indexSize":"6.76
>>> GB","indexPath":"/var/lib/solr/data/website/index","commits":[["indexVersion",1292192351652,"generation",5,"filelist",["_7e.fdx","_7e.tii","_7e.frq","_7e.prx","_7e.fdt","segments_5","_7e.fnm","_7e.nrm","_7e.tis"]]],"isMaster":"true","isSlave":"false","indexVersion":1292192351652,"generation":5},"WARNING":"This
>>> response format is experimental.  It is likely to change in the
>>> future."}
>>>
>>>  r...@slave:~#
>>>
>>> Note that indexversion returned by the indexversion command is 0 while
>>> the same information from the details command is 292192351652 ... Any
>>> idea what's going on here?
>>>
>>>  TIA Ralf Mattes
>>>
>>>
>>>
>
>
>

Reply via email to