[
https://issues.apache.org/jira/browse/QPID-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall closed QPID-6104.
----------------------------
Resolution: Fixed
Test fix looks reasonable.
> 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
>
> Attachments: log.txt
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]