summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5801: [Java Broker] BDB: Simply restore algorithm to efficiently ↵Keith Wall2014-06-091-13/+36
| | | | | | calculate utilised disk space. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601346 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Close committer on message store closeAlex Rudyy2014-06-092-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601323 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5803: [Java Broker] Add ability for the virtualhostnode to create a ↵Keith Wall2014-06-071-1/+3
| | | | | | | | | | virtualhost using a blueprint supplied by context variable * This commit reenables the SplitStoreTest. * The UI has not been refactored by this commit, so it will not be possible to create a non-HA virtualhost from the UI (the UI will create only a virtualhostnode).. REST API is okay. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Remove the now redundant ↵Keith Wall2014-06-072-90/+4
| | | | | | MessageStore/DurableConfigurationStore factories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Introduce separate VirtualHost typesKeith Wall2014-06-062-6/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] Elimination of the BDB facade's initialisation tasksKeith Wall2014-06-0613-491/+269
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker} Refactor MessageStore implementations extracting a ↵Keith Wall2014-06-0612-1802/+1838
| | | | | | MessageStoreProvider interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix various issues with configuration upgrader to model 2 and ↵Alex Rudyy2014-06-063-26/+71
| | | | | | store upgraders to version 8 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600823 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Use coalescing sync committer for message store transactions only ↵Alex Rudyy2014-06-0312-139/+288
| | | | | | when syncronization policy SYNC is set for local transactions in BDB HA virtual host git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-292-27/+2
| | | | | | virtual host node from the virtual host node tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Add new attributes for transaction sync policies into BDB HA ↵Alex Rudyy2014-05-2717-163/+396
| | | | | | | | | | | | virtual host, remove 'coalescingSync' attribute from BDB HA virtual host node and always use coalescingSync with replicated environment, change attribute 'durability' of BDB HA virtual host node into derived attribute, delegate bdb je transaction creation to EnvironmentFacade, with ReplicatedEnvironmentFacade crate transactions with durability having virtual host transaction sync policies and ack mode 'SIMPLE_MAJORITY'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Fix test ↵Alex Rudyy2014-05-261-0/+13
| | | | | | BDBHAVirtualHostNodeTest.testTransferMasterToRemoteReplica git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Address review comments from Alex RudyyKeith Wall2014-05-261-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Added extra logging when transfering master to a ↵Keith Wall2014-05-262-5/+17
| | | | | | remote replica in order to understand sporadic test failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On virtual host node deletion delete virtual host first, in order ↵Alex Rudyy2014-05-243-140/+102
| | | | | | to allow listeners to hear virtual host deletion. JMX Management needs to unregister virtual host MBean on host deletion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5784: [Java Broker] Prevent NPE possibility from BDB store\'s ↵Keith Wall2014-05-231-0/+15
| | | | | | coalescing committer on shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Prevent sporadic failure of BDB HA REST test ↵Keith Wall2014-05-232-77/+481
| | | | | | | | | | | | testNewMasterElectedWhenVirtualHostIsStopped * VHN role attribute now mutated after the completion of onMaster/onReplica event * Made BDBHAReplicaVirtualHost a type (BDB_HA_REPLICA) within the VirtualHost category. This no-op vhost represents the virtualhost when the node is replica (and the mastership is elsewhere within the group). Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-213-13/+26
| | | | | | | | | | * Add state transition tests for BDBHA virtualhostnode / virtualhost * Prevent the BDBVHN activating the VH (this is now a responsibility of attain desired state) * BDBHARemoteReplicationNode use state UNAVAILABLE in the case where the remote node is not MASTER or REPLICA. Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-201-3/+34
| | | | | | | | | * Changes in virtualhost state are now persisted to store. * VirtualHostState eliminated. The PASSIVE state used when a BDB HA Virtualhost is in replica is replaced by UNAVAILABLE. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On BDB HA virtual host node deletion invoke ↵Alex Rudyy2014-05-205-9/+179
| | | | | | ReplicationGroupAdmin#removeMember to remove node from the group git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Improve virtual host node and virtual host UIAlex Rudyy2014-05-161-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix Virtual Host MBean creation in JMX management pluginAlex Rudyy2014-05-151-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: BDB HA's remote replication nodes were using wrong value for ↵Keith Wall2014-05-141-1/+1
| | | | | | lastKnownReplicationId property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add UI for creation of virtual host nodesAlex Rudyy2014-05-134-0/+278
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594221 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409 : Change BDB HA MBean to delegate operations to BDB HA node instanceAlex Rudyy2014-05-094-59/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-083-30/+50
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add functionality to close the deleted tab of virtual host node.Alex Rudyy2014-05-083-8/+26
| | | | | | | Display user friendly values for BDB HA VHN priority and quorum override Fix tree view git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add BDB HA Virtual host node editing UIAlex Rudyy2014-05-074-2/+348
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add virtual host node UI to view the details about existing ↵Alex Rudyy2014-05-074-0/+459
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5746 : [Java Broker] Split attribute annotations into separate ↵Robert Godfrey2014-05-026-44/+45
| | | | | | annotations for derived and automated, and allow derived attributes to be persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Change web management console to call management REST API under ↵Alex Rudyy2014-05-021-6/+6
| | | | | | /api/latest and auxiliary REST services under /service. Fix broken UI. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Restart replicated environment several times before giving up. ↵Alex Rudyy2014-05-021-9/+32
| | | | | | This is due to a race condition on receiving DEATCHED event for a restarting environment causing EnvironmentFailureException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix sporadically faling BDB HA testsAlex Rudyy2014-05-011-20/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Address review comments from Alex RudyyKeith Wall2014-04-302-23/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715,QPID-5412: Add remote replication nodesAlex Rudyy2014-04-307-88/+1073
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5730 : [Java Broker] allow configured object attributes to be maked as ↵Robert Godfrey2014-04-292-43/+5
| | | | | | not to be persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker]: Wire up the BDB HA VirtualHostNode to the ↵Keith Wall2014-04-295-38/+595
| | | | | | | | | | ReplicatedEnvironmentFacade. * Attributes priority, quorumOverride, designatedPrimary are exposed as read/write attributes. * Attribute role is readable (to observe the current role of the node), and writable, to request a change in mastership. * Attributes joinTime and lastKnownReplicationTransactionId are exposed as derived attributes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590917 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5726 : [Java Broker] Use annotation processing to generate object ↵Robert Godfrey2014-04-2811-206/+24
| | | | | | factories and service definitions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker]: Refactor VHN implementations to avoid duplicated codeKeith Wall2014-04-261-191/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Make TaskExecutor an interface and provide a test-only current ↵Robert Godfrey2014-04-251-5/+5
| | | | | | thread implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-2119-407/+1066
| | | | | | existing broker functionality to conform the new model. Save configuration model version as VHN attribute and refactor the upgraders and configuration recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5713 : [Java Broker] Remove non-test references to model singleton, and ↵Robert Godfrey2014-04-202-8/+5
| | | | | | instead treat as an instance variable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5712 : [Java Broker] Remove VirtualHostRegistry and remove redundant ↵Robert Godfrey2014-04-201-3/+6
| | | | | | maps from BrokerAdapter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5710 : [Java Broker] Remove AMQQueueFactory and QueueRegistryRobert Godfrey2014-04-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5709 : [Java Broker] Replace exchange registry / factory with use of ↵Robert Godfrey2014-04-172-7/+13
| | | | | | common configured object mechanism for registration of children git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5685: Store configuration version as an attribute of virtualhost within ↵Keith Wall2014-04-145-109/+455
| | | | | | | | | | | | configuration store rather than within separate database/table * ConfiguredObjectRecordHandler begin/end methods no longer take/return config version * DefaultUpgraderProvider uses the virtualhost record for the config version only and uses this to trigger the correct upgrade. Note this record is *not* recovered (yet). * BDB/SQL Upgraders migrate the config version from database/table to be the modelVersion attribute of a virtualhost entry. * BDB Upgrader tests (7 to 8). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5686 : [Java Broker] Make handling of parents of ConfiguredObjects ↵Robert Godfrey2014-04-121-1/+2
| | | | | | consistent; perform some refactoring of AbstractConfiguredObject to move functionality into helper classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5672 : [Java Broker] move variable interpolation to the configured objectRobert Godfrey2014-04-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5665 : [Java Broker] Unify VirtualHost model and implementation classesRobert Godfrey2014-04-077-190/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5615 : [Java Broker] Migrate broker config store to use same API as ↵Robert Godfrey2014-04-046-25/+134
| | | | | | VirtualHost config store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584931 13f79535-47bb-0310-9956-ffa450edef68