You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Krzysztof Watral (JIRA)" <ji...@apache.org> on 2019/01/16 10:06:00 UTC

[jira] [Commented] (SOLR-13141) replicationFactor param cause problems with CDCR

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

Krzysztof Watral commented on SOLR-13141:
-----------------------------------------

problem can be related with SOLR-12998 (same errors in logs), but in this case, this is not a race condition

> replicationFactor param cause problems with CDCR
> ------------------------------------------------
>
>                 Key: SOLR-13141
>                 URL: https://issues.apache.org/jira/browse/SOLR-13141
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: CDCR
>    Affects Versions: 7.5, 7.6
>         Environment: This is system independent problem - exists on windows and linux - reproduced by independent developers
>            Reporter: Krzysztof Watral
>            Priority: Major
>         Attachments: type 1 - replication wasnt working at all.txt, type 2 - only few documents were being replicated.txt
>
>
> i have encountered some problems with CDCR that are related to the value of {{replicationFactor}} param.
> I ran the solr cloud on two datacenters with 2 nodes on each:
>  * dca:
>  ** dca_node_1
>  ** dca_node_2
>  * dcb
>  ** dcb_node_1
>  ** dcb_node_2
> Then in sequence:
>  * I configured the CDCR on copy of *_default* config set named *_default_cdcr*
>  * I created collection on both DC from *_default_cdcr* config set with the following parameters:
>  ** {{numShards}} = 2
>  ** {{maxShardsPerNode}} = 2
>  ** {{replicationFactor}} = 2
>  * I disabled buffer on collection on both DC
>  * I ran CDCR on both DC
> CDCR has started without errors in logs. Then:
>  * I stopped CDCR on both DC
>  * I stopped all solr nodes
>  * I restarted zookeepers on both DC
>  * I started all solr nodes one by one
>  * few minutes later I stared CDCR on both DC
>  * CDCR has starded with 2 types of errors presented bellow (replication between DC is not working)
>  ** 1st type - replication between DC wasn't working at all
>  ** 2nd type - only few documents from 1000 has been replicated, restart didn't help (documents has not been synchronized)
> {panel}
> I've also discovered that problem appears only in case, when the {{replicationFactor}} parameter is higher than one
> {panel}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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