lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4661) Index Version & Gen Number out of sync on Admin UI
Date Tue, 02 Apr 2013 17:41:15 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620037#comment-13620037
] 

Aditya commented on SOLR-4661:
------------------------------

Double checked .. and everything looks good. Step to reproduce this issue is simple. Just
apply commit on master without posting any documents. The next replication you will see the
difference of Version and gen on Slave. I remember in Solr3.5 applying commit with no pending
document will not increment the version and gen on master. 

JVM
Runtime : Oracle Corporation Java HotSpot(TM) 64-Bit Server VM (1.7.0_09 23.5-b02)
Processors : 4
Args:
-Dlogging.configuration=file:/opt/jboss/standalone/configuration/logging.properties
-Dorg.jboss.boot.log.file=/opt/jboss/standalone/log/boot.log
-XX:+UseG1GC
-XX:+UnlockExperimentalVMOptions
-XX:MaxPermSize=256m
-Xmx3g
-Xms3g
-Djboss.server.default.config=standalone.xml
-Djava.awt.headless=true
-Djboss.modules.system.pkgs=org.jboss.byteman
-Dsolr.data.dir=/storage/solrdata/
-Denable.slave=true
-Denable.master=false
-Dsolr.solr.home=/opt/solr
-Dorg.jboss.resolver.warning=true
-Djava.net.preferIPv4Stack=true
-XX:+TieredCompilation
-XX:+UseCompressedOops
-D[Standalone]
                
> Index Version & Gen Number out of sync on Admin UI
> --------------------------------------------------
>
>                 Key: SOLR-4661
>                 URL: https://issues.apache.org/jira/browse/SOLR-4661
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java), web gui
>    Affects Versions: 4.2
>         Environment: Solr 4.2 on Linux with JBoss 7.1.1, JDK 1.7
>            Reporter: Aditya
>              Labels: gui, replication, web
>         Attachments: IndexVersionSyncIssue.jpg
>
>
> Index and Gen number on Slave is higher than master. 
> If you apply commit on master with no pending docs then the commit time stamp and gen
is incremented. When Slaves polls master for replication it see the index version difference
and starts replicating but all files are skipped. 
> On Admin UI (on Slaves) the version number displayed for master is old where as for slave
is the latest which is higher than master.
> Below is the response from master (/replication?command=details) where i see two different
Version an Gen numbers. This creates confusion of having version out of sync, though its not.

> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">1</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">{color:red}1364835609803{color}</long>
> <long name="generation">{color:red}34{color}</long>
> <arr name="filelist">...</arr>
> </lst>
> </arr>
> <str name="isMaster">true</str>
> <str name="isSlave">false</str>
> <long name="indexVersion">{color:red}1364778010902{color}</long>
> <long name="generation">{color:red}31{color}</long>
> <lst name="master">
> <str name="confFiles">schema.xml</str>
> <arr name="replicateAfter">
> <str>commit</str>
> <str>startup</str>
> </arr>
> <str name="replicationEnabled">true</str>
> <long name="replicatableGeneration">34</long>
> </lst>
> </lst>
> <str name="WARNING">
> This response format is experimental. It is likely to change in the future.
> </str>
> </response>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message