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

Yury Kats commented on SOLR-2705:
---------------------------------

Thanks, I will try. 
Looking at the patch, it's not clear to me whether the reloaded core would 
return proper Commits right after it's been reloaded, or only after the 
subsequent commit. 
Can Junit check for indexversion/commits to be same right before and right 
after coreReload?

> On reload, IndexWriterProvider holds onto the initial SolrCore it was created 
> with
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-2705
>                 URL: https://issues.apache.org/jira/browse/SOLR-2705
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>         Attachments: SOLR-2705.patch
>
>
> dug up by Yury Kats in SOLR-2326
> The IWP needs to be updated to ref the new core on reload - else if some 
> settings have changed (eg newIndexDir change caused by replication), the 
> IndexWriter will be incorrectly reopened.
> This should really only be an issue when replication and core reloads are 
> involved for the most part.

--
This message is automatically generated by JIRA.
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