lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11278) CdcrBootstrapTest failing in branch_6_6
Date Tue, 29 Aug 2017 10:18:01 GMT

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

Varun Thacker commented on SOLR-11278:
--------------------------------------

> 2. I bumped up the time / sleep time b/w issuing CDCR and checking target collection
for numDocs to 7 seconds, 

I don't get the logic for this. Doesn't {[waitForTargetToSync}} already wait for 120 seconds
? Adding another 7 seconds shouldn't help much no?

> and lowered documents from 10K to 2K

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 .


Before we wait for the target cluster to catch up , we print the queue size from the source
cluster in the test case.

{code}
[junit4]   1&gt; Cdcr queue response: {responseHeader={status=0,QTime=2},queues={127.0.0.1:64653/solr={cdcr-target={queueSize=2020,lastTimestamp=}}},tlogTotalSize=96279,tlogTotalCount=20,updateLogSynchronizer=stopped}
{code}

So this doesn't seem like a lot of documents to take 120 seconds to catch up?

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message