qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6104) Test ReplicatedEnvironmentFacadeTest.testRemoveNodeFromGroup fails sporadically
Date Tue, 16 Sep 2014 11:19:33 GMT
Alex Rudyy created QPID-6104:
--------------------------------

             Summary: Test ReplicatedEnvironmentFacadeTest.testRemoveNodeFromGroup fails sporadically
                 Key: QPID-6104
                 URL: https://issues.apache.org/jira/browse/QPID-6104
             Project: Qpid
          Issue Type: Bug
          Components: Java Tests
            Reporter: Alex Rudyy
            Assignee: Alex Rudyy
             Fix For: 0.31


Error Message

(JE 5.0.97) Could not determine master from helpers at:[localhost/127.0.0.1:10000]

Stacktrace
{noformat}
com.sleepycat.je.rep.UnknownMasterException: (JE 5.0.97) Could not determine master from helpers
at:[localhost/127.0.0.1:10000]
	at com.sleepycat.je.rep.elections.Learner.findMaster(Learner.java:437)
	at com.sleepycat.je.rep.util.ReplicationGroupAdmin.getMasterSocket(ReplicationGroupAdmin.java:127)
	at com.sleepycat.je.rep.util.ReplicationGroupAdmin.doMessageExchange(ReplicationGroupAdmin.java:449)
	at com.sleepycat.je.rep.util.ReplicationGroupAdmin.getGroup(ReplicationGroupAdmin.java:262)
	at com.sleepycat.je.rep.util.ReplicationGroupAdmin.checkMember(ReplicationGroupAdmin.java:407)
	at com.sleepycat.je.rep.util.ReplicationGroupAdmin.removeMember(ReplicationGroupAdmin.java:244)
	at org.apache.qpid.server.store.berkeleydb.replication.ReplicatedEnvironmentFacade.removeNodeFromGroup(ReplicatedEnvironmentFacade.java:814)
	at org.apache.qpid.server.store.berkeleydb.replication.ReplicatedEnvironmentFacadeTest.testRemoveNodeFromGroup(ReplicatedEnvironmentFacadeTest.java:386)
{noformat}

DatabasePinger transaction was started when the second node environment was closed. Master
was not assigned as designated primary.
As result, there was no majority and DatabasePinger transaction failed causing environment
restart. Environment was not able to restart because there was no second node.

Setting "designated primary" on a Master node should resolve the test issue



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message