summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5909: Allow setting of BDB HA message store durability many timesAlex Rudyy2014-07-212-19/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5891: Add operational logging for the cases when remote node becomes ↵Alex Rudyy2014-07-214-0/+118
| | | | | | detached or attached git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker] BDB HA VHN/VH UI text changes and improved JS ↵Andrew MacBean2014-07-212-5/+7
| | | | | | validation add permitted nodes button git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker] BDB HA VHN/VH UIKeith Wall2014-07-213-7/+167
| | | | | | | | | * Fix fieldset border styling and use dojo's object.keys() [IE7/8 does not support Object.keys()] * Add support for permitted node list Work completed by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5907 : [Java Broker] Add ability for broker to startup while persistent ↵Robert Godfrey2014-07-201-4/+97
| | | | | | queues are still being recovered git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5867: [Java Broker] Allow the virtualhost's permitted node list to ↵Keith Wall2014-07-202-13/+49
| | | | | | | | passed via the virtualhostnode's virtualhost blueprint context variable. Work completed by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker] Add VHN/VH creation dialog for BDB HA.Keith Wall2014-07-178-213/+362
| | | | | | Work completed by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611314 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5787 : [Java Broker] Management can observe a child object before its ↵Robert Godfrey2014-07-161-0/+1
| | | | | | constructor has completed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5891: Strengthened testRemoteNodeAdded test and created log subject ↵Andrew MacBean2014-07-161-17/+82
| | | | | | matcher and improved matcher failure output git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker] Add virtualhostnode/virtualhost creation dialogueKeith Wall2014-07-164-98/+47
| | | | | | Work by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5891: Removed unnecessary mock reset call in unit testAndrew MacBean2014-07-151-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5891: Re-instated incorrect removal of else clause in ↵Andrew MacBean2014-07-151-0/+4
| | | | | | ReplicatedEnvironmentFacade.setMessageStoreDurability() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5891: [Java Broker] Add BDB HA operational logging functionalityAndrew MacBean2014-07-149-308/+805
| | | | | | Work completed by Alex Rudyy <orudyy@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5822: [Java Broker] change to JE param setting logic to handle ↵Andrew MacBean2014-07-141-9/+10
| | | | | | EnvironmentParams.SUPPORTED_PARAMS not always containing ALL valid params git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5885: [Java Broker] Virtualhostnode to replace real virtualhost with ↵Keith Wall2014-07-083-38/+21
| | | | | | replica virtualhost in the event that the BDB HA goes into detached state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608956 13f79535-47bb-0310-9956-ffa450edef68
* 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