summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore
Commit message (Collapse)AuthorAgeFilesLines
...
* NO-JIRA: Make sure that test ↵Alex Rudyy2014-07-081-1/+12
| | | | | | ReplicatedEnvironmentFacadeTest.testIntruderNodeIsDetected always closes intruder environment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: Exclude new ACL system tests from Json profile; fix ↵Keith Wall2014-07-041-2/+2
| | | | | | BDBHARemoteReplicationNodeTest unit test wrt monitor attribute git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: [Java Broker] Allow ACL rules to be applied to VirtualHostNode ↵Keith Wall2014-07-042-0/+186
| | | | | | | | | | | objects * ACL rules using the new operation VIRTUALHOSTNODE apply to VHN model objects. * ACL rules using the operation VIRTUALHOST apply to VH model objects for CREATE, UPDATE and DELETE. This is a change from previous version where BROKER operation permission was required. * For HA, VIRTUALHOSTNODE permission is required to perform updates on RemoteReplicationNodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Fix intruder protection system testAlex Rudyy2014-07-041-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5867: Add intruder protection functionality for a cluster of BDB HA ↵Alex Rudyy2014-07-0414-24/+818
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607772 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] BDB tests - prevent sporadic test failure from quorum ↵Andrew MacBean2014-06-261-38/+36
| | | | | | | | override test. Work by Keith Wall <kwall@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: Remove unused settings interface incorrectly committedAndrew MacBean2014-06-264-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: [Java Broker] Refactor MessageStore and DurableConfigurationStore ↵Andrew MacBean2014-06-2619-128/+242
| | | | | | | | | | interfaces to remove message store settings map. VirtualHost model objects now have attributes. Work done by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5846: Fix NPE in ↵Alex Rudyy2014-06-251-1/+1
| | | | | | org.apache.qpid.server.virtualhost.berkeleydb.BDBHAVirtualHostImpl.isCoalescingSync() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Set BDB message store durability only once on opening of virtual ↵Alex Rudyy2014-06-2312-276/+140
| | | | | | host. Restore original code of coalescing committer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor BDB message store implementation to ↵Keith Wall2014-06-197-1200/+1507
| | | | | | | | | separate message and config store implementations. * Message store implementations can now be used in isolation, which is useful when the user is using a JSON VirtualHostNode with a BDB virtual host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5831: Unexpected internal exception when closing JE Replicated environmentAndrew MacBean2014-06-191-2/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5822: [Java Broker] Replace low level BDB/JDBC attributes in fovour of ↵Keith Wall2014-06-1817-112/+209
| | | | | | | | | | context variables from the model * BDB attributes environmentConfiguration/replicatedEnvironmentConfiguration removed. User can now specify context variables with the configuration keys that are understood by JE itself. * JDBC attributes bigIntType/bytesForBlob/varBinaryType/blobType are now context variables with names begining qpid.jdbcstore. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603655 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Refactor VH implementations to avoid duplicated ↵Keith Wall2014-06-132-43/+4
| | | | | | | | message store/message store subject code. This addresses review comments from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602475 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] BDB HA - ensure that replication exceptions when ↵Keith Wall2014-06-131-4/+21
| | | | | | | | reading the message id sequence cause the environment to restart Addresses review comment from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor BDBConfigurationStore, move methods/fields ↵Keith Wall2014-06-131-51/+63
| | | | | | | | associated with only BDBMessageStore to the inner class. Addresses review comment from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Move coalescing commiters into environment facades. Flush logs ↵Alex Rudyy2014-06-0911-182/+139
| | | | | | for not completed commit futures if commit task is stopped git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] BDB: Cache the sequence handler used for message ↵Keith Wall2014-06-094-33/+146
| | | | | | sequence number git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601351 13f79535-47bb-0310-9956-ffa450edef68
* 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-0313-148/+299
| | | | | | 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-2721-185/+514
| | | | | | | | | | | | 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-5774: first main swipe, remove the Ant builds main build.xml and ↵Robert Gemmell2014-05-213-153/+0
| | | | | | associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-214-13/+152
| | | | | | | | | | * 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-203-11/+40
| | | | | | | | | * 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-206-9/+245
| | | | | | 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-156-33/+306
| | | | 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-142-4/+28
| | | | | | 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-5761: Fix BDBHAVirtualHostNodeRestTest test failure caused by premature ↵Alex Rudyy2014-05-121-3/+3
| | | | | | | | call to virtual host rest service before opening of virtual host Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409 : Change BDB HA MBean to delegate operations to BDB HA node instanceAlex Rudyy2014-05-0910-257/+203
| | | | 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