You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2013/02/03 08:44:12 UTC

[jira] [Commented] (ZOOKEEPER-1606) intermittent failures in ZkDatabaseCorruptionTest on jenkins

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

Patrick Hunt commented on ZOOKEEPER-1606:
-----------------------------------------

@lixiaofeng I think you're right. It's likely that this test typically works because that quorum member (s5) usually gets elected as leader (typically it's the server with the largest server id, all things otherwise being equal). But there's likely a timing issue that sometimes results in someone else becoming the leader (say s5 is delayed in startup). I've been meaning to fix this but haven't gotten around to it. feel free to give it a try. thx.
                
> intermittent failures in ZkDatabaseCorruptionTest on jenkins
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1606
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1606
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.5.0, 3.4.5
>            Reporter: Patrick Hunt
>             Fix For: 3.5.0, 3.4.6
>
>
> ZkDatabaseCorruptionTest is failing intermittently on jenkins with:
> "Error Message: the last server is not the leader"
> Seeing this on jdk7/openjdk7/solaris - 3 times in the last month.
> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-trunk-openjdk7/2/testReport/junit/org.apache.zookeeper.test/ZkDatabaseCorruptionTest/testCorruption/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira