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

Armando Orlando commented on SOLR-9329:
---------------------------------------

Steps to reproduce:
# Solr starts with an optimized index
# Indexing job starts
# Solr change index version after each commit
# Master (Replicable) does not show anything (checking on Solr console)
# Calling command=indexversion is getting last committed index version not last 
optimized one
So the same I was experiencing with 5.5.1.
Basically after restart solr looks like is working like I specified 
ReplicateAfter=commit not optimize like I really specified.

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to