lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SOLR-8658) Fix test failure introduced in SOLR-8651
Date Tue, 09 Feb 2016 03:39:18 GMT


ASF subversion and git services commented on SOLR-8658:

Commit b5823b50db14d93b546fa898e33ad3dfea58df17 in lucene-solr's branch refs/heads/master
from [~erickerickson]
[;h=b5823b5 ]

SOLR-8658: Fix test failure introduced in SOLR-8651

> Fix test failure introduced in SOLR-8651
> ----------------------------------------
>                 Key: SOLR-8658
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
> OK, I think I've found a possible reason. The waitForDocCount method waits until a response
comes back with the, well, expected doc counts. But then it drops out of the wait loop the
first time a query works.
> But then it goes out to each and every node and re-issues the request. This looks to
be a 2-shard, 2-replica situation. So here's the theory: the second node hasn't yet opened
a new searcher. So the wait loop is satisfied by, say, node2 but the test later looks at node4
(both for shard2) which hasn't completed opening a searcher yet so it fails.
> I could not get this to fail locally in 20 runs. So I'll beast the unchanged version
some more to see but meanwhile commit this change which I think is more correct anyway and

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message