summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-5744: Move management REST API under /api/latest and auxiliary REST ↵Alex Rudyy2014-05-021-3/+3
| | | | | | services under /service git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Restart replicated environment several times before giving up. ↵Alex Rudyy2014-05-022-10/+33
| | | | | | 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-308-88/+1249
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: fix scope on dependencyRobert Gemmell2014-04-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: update pom versions to 0.30-SNAPSHOT, using: mvn ↵Robert Gemmell2014-04-293-4/+4
| | | | | | release:update-versions -DdevelopmentVersion=0.30-SNAPSHOT git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590968 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-2813-207/+32
| | | | | | 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-2127-459/+1114
| | | | | | 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-5048: re-instate dependency versions after qpid parent pom removal of ↵Robert Gemmell2014-04-213-0/+7
| | | | | | | | dependency management section. Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588885 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-093-4/+7
| | | | 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-079-193/+81
| | | | 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-049-38/+149
| | | | | | VirtualHost config store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5653: Replace DurableConfigurationStore/MessageStore recoverers with ↵Keith Wall2014-04-046-651/+315
| | | | | | | | | | | visitors. * MS/DCS impls now have stateless visitXXX methods to retrieve message/configuration data (replaces the recoverXXXX methods) * VH implementations now uses Handlers to perform the recovery operation. * DCS's handler (ConfiguredObjectRecordRecoveverAndUpgrader) currently implemented in terms of the old DefaultUpgradeProvider/DurableConfigurationRecoverer. This will be refactored by a future commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5653: Open databases and upgrade on opening of configuration/message storesAlex Rudyy2014-03-3112-73/+162
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1583351 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make the MessageStore and DurableConfigurationStore stateless. ↵Keith Wall2014-03-283-255/+210
| | | | | | | | | This changes removes the StateManager and delegates the operational logging (open/close) messages to the vhost. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1582835 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Merge changes from trunk.Keith Wall2014-03-2521-149/+733
|\ | | | | | | | | | | | | | | | | | | Command was: svn merge https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581428 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5615 : [Java Broker] update the durable configuration store interface ↵Robert Godfrey2014-03-2321-146/+613
| | | | | | | | | | | | to be entirely in terms of ConfiguredObjectRecords and give stores knowledge of hierarchy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580561 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5048: dby profiles, bdb test deps and config for perftests-systests & ↵Alex Rudyy2014-03-212-0/+75
| | | | | | | | | | | | | | | | bdbstore-systests and a fix for clean between test runs Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579935 13f79535-47bb-0310-9956-ffa450edef68
* | Introduction of separate lifecycle methods on stores for open/close/recover.Keith Wall2014-03-258-202/+149
| | | | | | | | | | | | | | Change Upgraders responsibility to create the amqp standard exchanges when upgrading from earlier store versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581288 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: Merged changes from trunk with command:Keith Wall2014-03-183-11/+33
|\ \ | |/ | | | | | | | | | | | | svn merge https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1578827 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5048: split out systests from perftests and add rat plugin configRobert Gemmell2014-03-161-4/+0
| | | | | | | | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578145 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5625 : [Java Broker] ensure common configured object values are saved ↵Robert Godfrey2014-03-122-6/+33
| | | | | | | | | | | | to the store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576826 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Introduce configurationStoreSettings VH attributesKeith Wall2014-03-172-16/+24
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1578463 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Introduce messageStoreSettings VH attribute and move all message ↵Keith Wall2014-03-1413-97/+162
| | | | | | | | | | | | store related attributes into messageStoreSettings map git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577606 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: Fix HAClusterTwoNodeTestKeith Wall2014-03-131-0/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577102 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Test fixKeith Wall2014-03-131-6/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577101 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: Part of REF refactoring - the ommitted state transition. Also ↵Keith Wall2014-03-131-32/+63
| | | | | | | | | | | | | | | | refactored the shutdown of the threadpools used by REF. Fix unintended change in QuotaEventsTestBase. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577100 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Remove MessageStoreCreator and finish some virtual host refactoringKeith Wall2014-03-133-46/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577097 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Remove virtualhost xml configuration. Move virtual host ↵Alex Rudyy2014-03-1210-315/+90
| | | | | | | | | | | | configuration into broker configuration store" git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576732 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: [Java Broker/BDB]. Introduce a thin facade (EnvironmentFacade) ↵Keith Wall2014-03-1229-2861/+4631
|/ | | | | | | | | | | | | | | | 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
* QPID-5611 : Ensure the appropriate principals are available at the time of ↵Robert Godfrey2014-03-081-4/+2
| | | | | | all event logging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : Change the event logger from a singleton to an instanceRobert Godfrey2014-03-082-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : [Java Broker] remove LogActorsRobert Godfrey2014-03-072-21/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: get the tests running again for the perftests moduleRobert Gemmell2014-03-071-0/+4
| | | | | | Patch submitted by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575242 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4000 , QPID-5601 : Improve conversion of reply-to between different ↵Robert Godfrey2014-03-051-1/+1
| | | | | | protocols. Add functionality to the default exchange to understand AMQP 1.0 addresses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven enahancements to remove child version definitions and ↵Robert Gemmell2014-02-283-3/+0
| | | | | | | | improve profile handling for sys tests Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven enahancements to restructure POM hierarchy and improve buildRobert Gemmell2014-02-273-147/+10
| | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5555 : address review comments from Robbie GemmellRobert Godfrey2014-02-241-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571298 13f79535-47bb-0310-9956-ffa450edef68