summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4441: add system test verification of the priority queue and queue with ↵Robert Gemmell2012-12-041-0/+111
| | | | | | | | | DLQ following the store upgrade merged from trunk r1415127 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1416987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4441: Improve BDB store upgrade tests to cover the upgrade of ↵Robert Gemmell2012-11-288-43/+152
| | | | | | | | | configuration for queues having creation arguments merge from trunk r1412203 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414856 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-172-2/+2
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4289: Fix 0-8/0-9/0-9-1 failover issuesRobert Gemmell2012-09-102-2/+6
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-291-149/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: only keep a hard reference to the meta data if it has yet to be ↵Robert Gemmell2012-07-271-1/+4
| | | | | | persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Keith Wall2012-07-251-27/+18
| | | | | | move/copyMessage management functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1365832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923, QPID-3998: split out the IDs used for QMF (which have a different ↵Robert Gemmell2012-07-081-5/+5
| | | | | | format) from those for the new config model, make it clearer which is being used where git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358759 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4112: Virtualhosts recover exchanges before queuesKeith Wall2012-07-061-6/+7
| | | | | | | Switch the recover order from queues,exchanges,... to exchanges,queues,.. so that when a queue with an alternate exchange is recovered, the exchange's uuid is already in the registry. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358118 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-023-2/+43
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: remove deprecated test-only AMQQueueFactory method and update ↵Robert Gemmell2012-07-012-4/+4
| | | | | | tests accordingly, rename method for generating random IDs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: update ID generation to be consistent across all ↵Robert Gemmell2012-07-012-27/+47
| | | | | | queues/exchanges/bindings as opposed to deterministic for some and not for others git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-2816-1056/+175
| | | | | | jmx/rest/webui functionality, partial merge from the java-config-and-management branch at r1355039 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: close initial connections after use rather than allowing them to ↵Robert Gemmell2012-06-281-8/+7
| | | | | | fail over after we no longer need them, which causes them to sporadically expose QPID-4086 during teardown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: restore connectdelay to previous value and increase retriesRobert Gemmell2012-06-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: [Java Broker] HA - Increase client connectdelay to allow test to ↵Keith Wall2012-06-211-1/+1
| | | | | | be successful on slowe boxes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4052: [Java Broker] Increase the number of retries that the client will ↵Keith Wall2012-06-151-1/+1
| | | | | | use when trying to reconnect to the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Decrease 'je.rep.logFlushTaskInterval' interval to 1 minute in ↵Keith Wall2012-06-071-0/+5
| | | | | | | | order to minimize data losses on Node with NO_SYNC durability Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Introduce coalescing sync configuration, rename replication ↵Keith Wall2012-06-026-80/+80
| | | | | | | | policy configuration into durability, restore designated primary configuration and remove auto-designated primary functionality Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-291-0/+73
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: [Java Broker] BDB HA.Keith Wall2012-05-2511-61/+225
| | | | | | | | | | | | Close BDB environment in the event of unexpected exceptions during commit/begin tran. Install BDB exception listener to log exception arising from its own threads. Default BDB parameters for sensible defaults for standard Qpid use-cases. Ensure that closeInternal always closes the environment. Added MBean operation descriptions. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Remove BDB StateChangeListener during Environment#close() to ↵Keith Wall2012-05-241-73/+108
| | | | | | avoid processing an unnecessary DETACHED event (which was causing a stack trace). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: BDB HA. Make passivation async to avoid holding up the BDB ↵Keith Wall2012-05-224-157/+122
| | | | | | | | | | thread. Introduce VirtualHost ERROR state to be used when virtual host is unable to activate or passivate itself completely. Change MULTISYNC mode to use WRITE_NO_SYNC. Stop relying on Monitor nodes to perform some tests. Work of Robbie Gemmell <robbie@apache.org> and myself. squashme git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Fix failing HA tests due to spaces in filenames on Apache CI serversKeith Wall2012-05-183-9/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-1717-341/+2832
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Fix typo/bug for low threshold > high threshold caseRobert Godfrey2012-05-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Tidy up constant use for Underfull/Overfull propertiesRobert Godfrey2012-05-071-24/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-072-15/+147
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: Store queue, exchange and binding as configured objects in bdb storeRobert Gemmell2012-04-1726-895/+1492
| | | | | | Applied patch by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917 : Fix failing BDB test, remove unusued readOnly flagRobert Godfrey2012-04-133-59/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917 : Refactor changes to MessageStore to use listeners and not decoratorsRobert Godfrey2012-04-123-32/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917: Refactor VirtualHost/MessageStore implementations to be ready for ↵Keith Wall2012-03-304-2003/+2063
| | | | | | | | BDB-HA Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3916: Change message store interface to extend ↵Keith Wall2012-03-305-40/+29
| | | | | | | | DurableConfigurationStore and change VirtualHost contructor Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Remove unused logsubjectKeith Wall2012-03-298-50/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Fix BDBUpgradeTest for spawn test profilesKeith Wall2012-03-281-1/+6
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Add functionality to upgrade bdbstore automatically on broker ↵Keith Wall2012-03-2756-2841/+3199
| | | | | | | | start-up. Store message content using single chunk. Change store version to 6. Remove implementations of tuple bindings for previous versions. Applied patch from Phil Harvey<phil@philharveyonline.com> Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305809 13f79535-47bb-0310-9956-ffa450edef68
* AMQP-24 : [Java Broker] Implement distributed transactions for AMQP 0-10Robert Godfrey2012-02-235-1/+417
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3743: remove try-catch block on converting BDB message meta data entry ↵Robert Gemmell2012-02-171-20/+9
| | | | | | | | into StorableMessageMetaData Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3835: add the empty 'no selector' argument to bindings for ↵Robert Gemmell2012-02-135-29/+84
| | | | | | DurableSubscription queues that dont yet have the selector argument at all git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3835: update the test preparer tool to generate content for a durable ↵Robert Gemmell2012-02-133-34/+146
| | | | | | subscription without selector, use it to generate a new legacy store, add test to verify this content once updated and thus expose the issue through test failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3775: Change BDB shell scripts to avoid use of readlink when ↵Keith Wall2012-02-061-1/+6
| | | | | | determining QPID_HOME. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] code tidyupsRobert Godfrey2012-01-2912-224/+331
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1237273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3775: Automate the manual persistent store tests.Keith Wall2012-01-282-120/+193
| | | | | | | | | Add new testcase BDBBackupTest to test the operation of the BDB store backup mechanism (backup.sh). Changed test case PersistentStoreTest to implement the manually scripted BDB tests. This required changes to QBTC and BrokerHolder to allow an external Brokers to be forcibly kill'd with -9. Remove script and class for manual tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236931 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Encapsulate fields, use private members and accesors (keep ↵Robert Godfrey2012-01-273-14/+14
| | | | | | checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : [Java] Tidy up import statements across the codebase, remove ↵Robert Godfrey2012-01-2724-147/+152
| | | | | | unused/redundant imports (keep Checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774 : Work around Java BDB issue with cursors and flushLogRobert Godfrey2012-01-211-63/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1234410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774 : allow out of order completion of persistent enqueues / dequeuesRobert Godfrey2012-01-201-57/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1234111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3736 : Upgrade to BDB version 5.0.34Robert Godfrey2012-01-111-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1229957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-946 , QPID-2379 : Fix for BDBUpgradeTest failure introduced by previous ↵Robert Godfrey2012-01-081-108/+117
| | | | | | commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1228853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-946 , QPID-2379 : QMF and Federation fixes (now works again with ↵Robert Godfrey2012-01-073-2/+295
| | | | | | qpid-config, qpid-route, qpid-tool) and store (durable) routes in the DB git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1228748 13f79535-47bb-0310-9956-ffa450edef68