You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/07/22 08:15:20 UTC

[jira] [Resolved] (SOLR-3986) index version and generation not changed in admin UI after delete by query on master

     [ https://issues.apache.org/jira/browse/SOLR-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-3986.
-----------------------------------------
    Resolution: Cannot Reproduce

> index version and generation not changed in admin UI after delete by query on master
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-3986
>                 URL: https://issues.apache.org/jira/browse/SOLR-3986
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.0
>            Reporter: Bill Au
>            Priority: Minor
>
> Here are the steps to reproduce this:
> - follow steps in Solr 4.0 tutorial to set up a master and a slave to use Java/HTTP replication
> - index example documents on master:
> java -jar post.jar *.xml
> - make a note of the index version and generation the on both the replication section of the summary screen of core collection1 and the replication screen on both the master and slave
> - run a delete by query on the master
> java -Ddata=args -jar post.jar "<delete><query>name:DDR</query></delete>"
> - on master reload the summary screen for core collection1.  The Num Docs field decreased but the index version and generation are unchanged in the replication section.  The index version and generation are also unchanged in the replication screen.
> - on the slave, wait for replication to kick in or trigger it manually.  On the summary screen for core collection1, the Num DOcs field decreased to match what's on the master.  The index version and generation of the master remain unchanged but the index version and generation of the slave both changed.  The same goes for the index version and generation of the master and slave on the replication screen.
> The replication handler on the master does report changed index version and generation:
> localhost:8983/solr/collection1/replication?command=indexversion
> It is only the admin UI that reporting the older index version and generation on both the core summary screen and replication screen.
> This only happens with delete by query.  There is no problem with delete with id or add.
> Both the index version and generation do get updated on subsequent delete by query but both remain one cycle behind on the master.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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