[jira] [Created] (SOLR-3662) core reload can go back in time

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-3662) core reload can go back in time

JIRA jira@apache.org
Yonik Seeley created SOLR-3662:
----------------------------------

             Summary: 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
            Priority: Minor


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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (SOLR-3662) core reload can go back in time

JIRA jira@apache.org

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

Yonik Seeley reassigned SOLR-3662:
----------------------------------

    Assignee: Yonik Seeley
   

> 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
>
> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-3662) core reload can go back in time

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SOLR-3662) core reload can go back in time

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Yonik Seeley resolved SOLR-3662.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
   

> 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
>             Fix For: 4.0
>
>         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: [hidden email]
For additional commands, e-mail: [hidden email]