lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sobon (JIRA)" <>
Subject [jira] [Commented] (SOLR-2326) Replication command indexversion fails to return index version
Date Wed, 01 Aug 2012 07:03:35 GMT


David Sobon commented on SOLR-2326:

I'm having similar problems.

Fresh install, with populated index from apachesolr (drupal module / interface)

solr 3.6.0
jetty 6.1.26
java-sun build 1.6.0_26-b03

Master: details
<str name="isMaster">false</str>
<str name="isSlave">false</str>
<long name="indexVersion">1343699948493</long>
<long name="generation">128</long>

Master: indexversion
<long name="indexversion">0</long>
<long name="generation">0</long>

Slave: details
<str name="isMaster">false</str>
<str name="isSlave">true</str>
<str name="timesFailed">1444</str>
<str name="isPollingDisabled">false</str>
<str name="isReplicating">false</str>

Slave: indexversion
<long name="indexversion">0</long>
<long name="generation">0</long>

Is there any facilities to debug this problem? Not having error messages of why master is
not master is a bug.
> Replication command indexversion fails to return index version
> --------------------------------------------------------------
>                 Key: SOLR-2326
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>         Environment: Branch 3x latest
>            Reporter: Eric Pugh
>            Assignee: Mark Miller
>             Fix For: 4.0
> To test this, I took the /example/multicore/core0 solrconfig and added a simple replication
>   <requestHandler name="/replication" class="solr.ReplicationHandler" >
>       <lst name="master">
>         <str name="replicateAfter">commit</str>
>         <str name="replicateAfter">startup</str>
>         <str name="confFiles">schema.xml</str>
>       </lst>
>   </requestHandler>
> When I query the handler for details I get back the indexVersion that I expect: http://localhost:8983/solr/core0/replication?command=details&wt=json&indent=true
> But when I ask for just the indexVersion I get back a 0, which prevent the slaves from
pulling updates: http://localhost:8983/solr/core0/replication?command=indexversion&wt=json&indent=true

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message