diff options
author | Keith Wall <kwall@apache.org> | 2014-03-12 11:28:49 +0000 |
---|---|---|
committer | Keith Wall <kwall@apache.org> | 2014-03-12 11:28:49 +0000 |
commit | a038ecc0c2da1fdd8cff38051bba3c8ffca4df1e (patch) | |
tree | ac67abd1b2d49ebaab052a792509a3f21be77ea3 /qpid/java/test-profiles | |
parent | b5d82ab769e4368c88fbbe6503b571303a5dcd14 (diff) | |
download | qpid-python-a038ecc0c2da1fdd8cff38051bba3c8ffca4df1e.tar.gz |
QPID-5410: [Java Broker/BDB]. Introduce a thin facade (EnvironmentFacade) between the BDBMessage and BDB JE's Environment/ReplicatedEnvironment. The motivation behind this facade is principally HA; there are a number of cases where JE requires the ReplicatedEnvironment is recreated. The facade layer allows for this to be done transparently from the upper tiers (the BDBMessageStore). The facade has two implementations StandardFacade used in the non-HA use case, and ReplicatedEnvironmentFacade in the HA case.
Key changes:
* BDBHAVirtualHost is now responsible for the creation of ReplicatedEnvironmentFacade
* BDBMessageStore reverts to a single implementation without knowledge of HA.
* BDBMessageStore now interacts with JE via the facade.
* BDBHAMessageStoreManagerMBean interrogates the facade
* ReplicatedEnvironmentFacade monitors the group for changes in state (nodes becoming uncontactable etc), if such a state change is detected, the DatabasePinger
fires a single transaction to determine if quorum still exists. If quorum does not exist, the environment is restarted, thus transition the environment into
the UNKNOWN state.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/test-profiles')
0 files changed, 0 insertions, 0 deletions