[ https://issues.apache.org/jira/browse/SOLR-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082417#comment-13082417 ]
Yury Kats commented on SOLR-2326: --------------------------------- Another data point, /replication?command=commits After Solr startup: http://localhost:8983/solr/master1/replication?command=commits <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">0</int> </lst> <arr name="commits"> <lst> <long name="indexVersion">1312988447203</long> <long name="generation">2</long> <arr name="filelist"> <str>_0.nrm</str> <str>_0_0.frq</str> <str>_0_0.tiv</str> ... and so on Now RELOAD the core: http://localhost:8983/solr/admin/cores?action=RELOAD&core=master1 Now repeat "commits" command: http://localhost:8983/solr/master1/replication?command=commits <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">0</int> </lst> <arr name="commits"/> </response> And it stays this way forever, even when new docs are being commited to the RELOADed core. > Replication command indexversion fails to return index version > -------------------------------------------------------------- > > Key: SOLR-2326 > URL: https://issues.apache.org/jira/browse/SOLR-2326 > Project: Solr > Issue Type: Bug > Components: replication (java) > Environment: Branch 3x latest > Reporter: Eric Pugh > Assignee: Mark Miller > Fix For: 3.4, 4.0 > > > To test this, I took the /example/multicore/core0 solrconfig and added a > simple replication handler: > <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. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org