[ https://issues.apache.org/jira/browse/SOLR-11771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16314300#comment-16314300 ]
ASF subversion and git services commented on SOLR-11771: -------------------------------------------------------- Commit dd2c90d7680a54d3eefb43b26cde4c2ede265928 in lucene-solr's branch refs/heads/branch_7_2 from [~caomanhdat] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=dd2c90d ] SOLR-11771: Overseer can never process some last messages > Overseer can never process some last messages > --------------------------------------------- > > Key: SOLR-11771 > URL: https://issues.apache.org/jira/browse/SOLR-11771 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Cao Manh Dat > > I met this problem when some tests get failed because timeout on creating a > new collection. The case here is > 1. Overseer call DQ.peekElements with LONG.MAX_VALUE timeout. > 2. DQ fetch children from ZK but it is empty. > 3. At the same time with 2, a set LEADER message is enqueued, > {{changed.signalAll()}} already called. > 4. The call {{changed.awaitNanos(waitNanos)}} is never end because no new > messages get enqueued after this point. > The fix here is trivial, the call peekElements should have a timeout of 2 > seconds, that will be appropriate in most cases. -- 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