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

Akihiro Suda commented on ZOOKEEPER-2152:
-----------------------------------------

I can 50% deterministically reproduce this issue.

When I hit this issue, the value of {{addrvec_hasnext(&zh->addrs_new)}} at 
{{get_next_server_in_reconfig()}} is unexpectedly set to false:
https://github.com/apache/zookeeper/blob/539fd562/src/c/src/zookeeper.c#L1264

I also hit the following failures while repeating 
{{Zookeeper_reconfig::testMigrationCycle}}:
 * [{{/zookeeper/src/c/tests/TestReconfig.cc:154: Assertion: assertion failed 
\[Expression: 
false\]}}|https://github.com/apache/zookeeper/blob/539fd562/src/c/tests/TestReconfig.cc#L154]
 * [{{/zookeeper/src/c/tests/TestReconfig.cc:183: Assertion: equality assertion 
failed \[Expected: 1, Actual  : 
0\]}}|https://github.com/apache/zookeeper/blob/539fd562/src/c/tests/TestReconfig.cc#L183]
 * [{{/zookeeper/src/c/tests/TestReconfig.cc:504: Assertion: equality assertion 
failed \[Expected: 10.10.10.12:2012, Actual  : 
10.10.10.10:2010\]}}|https://github.com/apache/zookeeper/blob/539fd562/src/c/tests/TestReconfig.cc#L504]

 


> Intermittent failure in TestReconfig.cc
> ---------------------------------------
>
>                 Key: ZOOKEEPER-2152
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2152
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: c client
>            Reporter: Michi Mutsuzaki
>              Labels: reconfiguration
>             Fix For: 3.6.0
>
>
> I'm seeing this failure in the c client test once in a while:
> {noformat}
> [exec] 
> /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/src/c/tests/TestReconfig.cc:474:
>  Assertion: assertion failed [Expression: found != string::npos, 
> 10.10.10.4:2004 not in newComing list]
> {noformat}
> https://builds.apache.org/job/ZooKeeper-trunk/2640/console



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to