The gen is an incrementing int for each commit, the version is a timestamp of 
the commit.


- Mark

On Mar 30, 2013, at 11:06 AM, adityab <aditya_ba...@yahoo.com> wrote:

> Mark, isn't this response from master some what confusing. The gen and
> version number is out of sync. 
> 
> http://.../solr/replication?command=details
> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">2</int>
> </lst>
> <lst name="details">
> <str name="indexSize">1.52 GB</str>
> <str name="indexPath">/storage/solrdata/index/</str>
> <arr name="commits">
> <lst>
> <long name="indexVersion">1364655616211</long>
> <long name="generation">22</long>
> <arr name="filelist">...</arr>
> </lst>
> </arr>
> <str name="isMaster">true</str>
> <str name="isSlave">false</str>
> <long name="indexVersion">1364619609805</long>
> <long name="generation">20</long>
> <lst name="master">
> <str name="confFiles">schema.xml</str>
> <arr name="replicateAfter">
> <str>commit</str>
> <str>startup</str>
> </arr>
> <str name="replicationEnabled">false</str>
> <long name="replicatableGeneration">22</long>
> </lst>
> </lst>
> <str name="WARNING">
> This response format is experimental. It is likely to change in the future.
> </str>
> </response>
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-4-2-Slave-Index-version-is-higher-than-Master-tp4049827p4052588.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to