[ https://issues.apache.org/jira/browse/SOLR-13141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959714#comment-16959714 ]
Shawn Heisey commented on SOLR-13141: ------------------------------------- {quote}Is it possible to back port this fix to solr 7.7.x. {quote} The bar is set very high for backporting issues to the previous major version. Sometimes we will do it, but it must be a severe problem that has no workaround, or a trivial fix that has little chance of causing unintended side effects. It sounds like there IS a workaround for this problem. I'm unfamiliar with the code that [~shalin] changed to fix the problem, so he will need to say whether the fix is trivial enough to qualify for a maintenance backport. One of the nice things about open source projects like this one is that you can do the backport yourself and build a snapshot version to use. I've done this on several occasions. Just switch branches in a git checkout to branch_7x and apply it there, then in the solr directory, run "ant clean package" on a typical Linux or UNIX system with the JDK Typical OS tools like ant, zip, perl, and others will need to be installed. This build target will create .tgz and .zip files that will be similar to the binary Solr download. > CDCR bootstrap does not replicate index to the replicas of target cluster > ------------------------------------------------------------------------- > > Key: SOLR-13141 > URL: https://issues.apache.org/jira/browse/SOLR-13141 > Project: Solr > Issue Type: Bug > 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 > Assignee: Shalin Shekhar Mangar > Priority: Critical > Fix For: master (9.0), 8.3 > > Attachments: SOLR-13141.patch, SOLR-13141.patch, 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 "customer" on both DC from *_default_cdcr* config set > with the following parameters: > ** {{numShards}} = 2 > ** {{maxShardsPerNode}} = 2 > ** {{replicationFactor}} = 2 > * I disabled cdcr buffer on collections > * I ran CDCR on both DC > CDCR has started without errors in logs. During indexation I have encountered > problem [^type 2 - only few documents were being replicated.txt], restart > didn't help (documents has not been synchronized between DC ) > 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 errors (replication between DC is not working) - > [^type 1 - replication wasnt working at all.txt] > {panel} > I've also discovered that problems appears only in case, when the > {{replicationFactor}} parameter is higher than one > {panel} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org