You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/09/14 08:53:20 UTC
[jira] [Created] (QPID-7427) [Java Broker, HA] An activation of
stopped node might fail when node has ahead of master transactions causing
Environment to restart
Alex Rudyy created QPID-7427:
--------------------------------
Summary: [Java Broker, HA] An activation of stopped node might fail when node has ahead of master transactions causing Environment to restart
Key: QPID-7427
URL: https://issues.apache.org/jira/browse/QPID-7427
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: qpid-java-6.0.4, qpid-java-6.0.3, qpid-java-6.0.2, qpid-java-6.0.1, qpid-java-6.0, 0.32, qpid-java-6.1
Reporter: Alex Rudyy
Test MultiNodeTest.testInFlightTransactionsWhilstMajorityIsLost can fail sporadically on sending REST request to activate the stopped node which has transactions ahead of master causing the Environment to restart.
On activation the JE environment is created. If it detects ahead of master transactions it restarts itself. The activation logic within BDB VHN accesses the Environment via EnvironmentFacade but "ConnectionScopedRuntimeException: Environment is restarting" is thrown causing VHN transition into ERRORED state. REST request ends up in 500 http status code.
The operator would be required to repeat the REST request in order to finish activation. However, 500 status code can potentially confuse the end user.
Additionally activation logic could be retried inside of activate mode on running into "Environment restarting" exception.
The failed test (MultiNodeTest.testInFlightTransactionsWhilstMajorityIsLos) on detection of 500 status code just logs it and ignore. It seems that test optimistically assumes that activation will be always successful.We need to fix a test to repeat the activation if it fails.
--
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