You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2014/01/05 21:54:50 UTC

[jira] [Commented] (SOLR-4669) conf file replication can cause new index to be loaded before new core (with new configs) is loaded.

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

Mark Miller commented on SOLR-4669:
-----------------------------------

I wonder if this is a big deal in practice. As far as I can see, it just means the old configs search for a window with old index, the new configs search for a window on the new index (generally, simply the old index + a bit more data). Then you get a window of new configs, new index.

I'm not sure it's a bad tradeoff vs always creating a fully new index folder and downloading all files (I suppose you could optimize to a local copy operation though).

I think that would be the likely fix though. Simply force a new index dir on this condition - you have to do a core reload regardless.

> conf file replication can cause new index to be loaded before new core (with new configs) is loaded.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4669
>                 URL: https://issues.apache.org/jira/browse/SOLR-4669
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> Unless i'm smoking crack, some behavior i noticed working on SOLR-4629 indicates that when solr replication detects both a changed index, and changed config files, the index is copied over and put into use by the current solr core, then the conig files are copied over, and then the solr core is reloaded with the modified configs.
> which means there is a window of time in which the "new" index is being searched using the old configs -- which could have bizare consequences.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org