You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Armando Orlando (JIRA)" <ji...@apache.org> on 2016/07/22 17:14:20 UTC

[jira] [Comment Edited] (SOLR-9329) [SOLR][5.5.1] ReplicateAfter optimize is not working

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

Armando Orlando edited comment on SOLR-9329 at 7/22/16 5:14 PM:
----------------------------------------------------------------

I'm currently testing solr 6.1 but it seems nothing changed there.
Today or tomorrow I'll try version 5.5.2.

Thanks,
Armando.


was (Author: arorlando):
I'm currently testing solr 6.1 but it seems nothing changes there.
Today or tomorrow I'll try version 5.5.2.

Thanks,
Armando.

> [SOLR][5.5.1] ReplicateAfter optimize is not working
> ----------------------------------------------------
>
>                 Key: SOLR-9329
>                 URL: https://issues.apache.org/jira/browse/SOLR-9329
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 5.5.1
>            Reporter: Armando Orlando
>
> We just upgraded Solr version from 3.6 to 5.5.1 but the replication does not seem to work as expected. We would like to replicate index on slaves only after optimize but what I noticed is that if I restarted solr master it lost the info related to last replicable index and calling /replication?command=invexversion is getting the last committed index not the last optimized one.
> If I leave it running, after first optimize command happens it works as expected and command=invexversion gives me last optimized index.
> We're running it as docker container.
> This is the requestHandler section we're using in both master and slaves:
> {code}
>  <requestHandler name="/replication" class="solr.ReplicationHandler">
>         <lst name="master">
>             <str name="enable">${solr.master.enable:false}</str>
>             <str name="replicateAfter">optimize</str>
>             <str name="backupAfter">optimize</str>
>         </lst>
>         <str name="maxNumberOfBackups">${solr.numberOfVersionToKeep:3}</str>
>         <lst name="slave">
>             <str name="enable">${solr.slave.enable:false}</str>
>             <str name="masterUrl">${solr.master.url:}/replication</str>
>             <str name="pollInterval">${solr.replication.pollInterval:00:00:30}</str>
>         </lst>
>     </requestHandler>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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