lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Kats (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2705) On reload, IndexWriterProvider holds onto the initial SolrCore it was created with
Date Wed, 10 Aug 2011 19:26:27 GMT

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

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

Tested some more, all is well. Thanks a lot, Mark. This is outstanding support and turn around
time from a committer. Hats off!

I saw in the patch that you've added getIndexversion and getCommits, but haven't used them.
Would be a shame not to put them to work. It would also ensure that replication works right
after a RELOAD, which can be a case in my app, so I'm in favor of testing that angle as well.
:)


> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message