[ https://issues.apache.org/jira/browse/SOLR-11278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145551#comment-16145551 ]
Erick Erickson commented on SOLR-11278: --------------------------------------- bq: I'm guessing this will help but don't you think the bigger problem is why can't replicate 10k documents ( 2 fields ) in 120 seconds? Perhaps we can add some more logging to the test case like when the bootstrapping starts etc . The evidence from a test I ran the other day (results in SOLR-11003) is that these delays won't help. Or if they do let the test pass they just mask a more fundamental problem. I changed one of the tests so if waitForTargetToSync didn't return the proper number of docs I'd add one more document to the source and call waitForTargetToSync again. Here's the important bits: At the initial mismatch in waitForTargetToSync target: 1901 source: 2000 After my new loop that adds a single doc to source then calls waitForTargetToSync again I see counts of target: 1902 source: 2001 Clearly my new doc is being indexed to the source and sent to the target so it's not just a matter of the docs getting to the target but somehow not being available to the currently-open searcher. They're just not on the target at all. I'll instrument the tests a little more. It's strange that the difference is 99 and the packet size is 100, kind of feels like an off-by-one error. > CdcrBootstrapTest failing in branch_6_6 > --------------------------------------- > > Key: SOLR-11278 > URL: https://issues.apache.org/jira/browse/SOLR-11278 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: CDCR > Reporter: Amrit Sarkar > Assignee: Varun Thacker > Attachments: SOLR-11278.patch, test_results > > > I ran beast for 10 rounds: > ant beast -Dtestcase=CdcrBootstrapTest -Dtests.multiplier=2 -Dtests.slow=true > -Dtests.locale=vi -Dtests.timezone=Asia/Yekaterinburg -Dtests.asserts=true > -Dtests.file.encoding=US-ASCII -Dbeast.iters=10 > and seeing following failure: > {code} > [beaster] [01:37:16.282] FAILURE 153s | > CdcrBootstrapTest.testBootstrapWithSourceCluster <<< > [beaster] > Throwable #1: java.lang.AssertionError: Document mismatch on > target after sync expected:<2000> but was:<1000> > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org