[
https://issues.apache.org/jira/browse/SOLR-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082538#comment-13082538
]
Yury Kats commented on SOLR-2705:
---------------------------------
The problem is reproducible on the stock multicore example
* configure multicore's ReplicationHandler to replicate after startup and
commit
* launch multicore example
* index some example docs
* ask for commits:
http://localhost:8983/solr/core0/replication?command=commits
* reload core0:
http://localhost:8983/solr/admin/cores?action=RELOAD&core=core0
* ask for commits again:
http://localhost:8983/solr/core0/replication?command=commits
* observe no commits being returned after reload.
> 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]