lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Updated] (SOLR-3662) core reload can go back in time
Date Sat, 21 Jul 2012 12:07:34 GMT


Yonik Seeley updated SOLR-3662:

    Attachment: SOLR-3662.patch

This patch improves a number of areas related to reload:
- the VersionInfo class was holding onto a SolrCore reference (which is used to look up versions
in the index)
- on a reload, the old core is passed to the constructor and if a writer was open in the core
state, it's used to open the first reader so that we see changes in the writer (and hence
don't go back in time with respect to NRT readers in the previous core)
- update handler (which is no longer a singleton per writer) synchronizes on the core state
instance instead

With these changes, TestReload now passes
> core reload can go back in time
> -------------------------------
>                 Key: SOLR-3662
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-3662.patch
> Reloading a core can cause the new core to have an older view of the index than the old

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