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

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: https://issues.apache.org/jira/browse/SOLR-3662
>             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 core.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to