summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4164: only keep a hard reference to the meta data if it has yet to be ↵Robert Gemmell2012-07-311-1/+4
| | | | | | | | | persisted merged from trunk r1366339 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Robert Gemmell2012-07-311-27/+18
| | | | | | | | | move/copyMessage management functions. merged from trunk r1365832 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: Adjust versions to 0.18 on the release branchJustin Ross2012-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1359232 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-3998, QPID-3999, QPID-4093: rename new pluginsRobert Gemmell2012-07-083-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: [Java Broker] Prevent new queues and exchanges from being created ↵Keith Wall2012-07-061-3/+41
| | | | | | on vhosts that are not active git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358217 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-4098: update POM generation for the plugins to mark the dependencies as ↵Robert Gemmell2012-06-291-0/+1
| | | | | | being provided (by the broker itself) at runtime git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4098: generate maven release artifacts for the broker pluginsRobert Gemmell2012-06-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355390 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: work around ancient versions of Ant lacking 'erroronmissingdir' ↵Robert Gemmell2012-06-281-0/+0
| | | | | | | | | in the metainf element of the jar task by using copying to compose the files for addition to META-INF. Also prevents general files in the modules resources dir that arent intended for inclusion in META-INF from being included there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-2821-99/+336
| | | | | | 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-1718-342/+2833
| | | | | | | | | | | 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-3996 : [Java Broker] update BDB depency to latest versionRobert Godfrey2012-05-151-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add ability to specify -Doptional=true to enable all optional ↵Robert Gemmell2012-05-141-0/+1
| | | | | | modules and download of optional dependencies git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338428 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-3994: trivial changes to the build.xml files to aid people regenerating ↵Robert Gemmell2012-05-131-0/+1
| | | | | | their Eclipse project files using Ant Eclipse following the Ivy related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337925 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: use Ivy to download the main component dependencies during the ↵Robert Gemmell2012-05-111-7/+14
| | | | | | build, and the optional bdb-je dependency on request, enabling removal of the main component dependencies from the repository and the 'source release' artifacts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337211 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-3929: remove old perftests + integrationtests + junit-toolkit modules ↵Robert Gemmell2012-04-042-44/+1
| | | | | | and associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309476 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-2758-2882/+3206
| | | | | | | | 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
* QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-083-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298340 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-063-7/+12
| | | | | | 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: Fix path handling in bdb scripts.Keith Wall2012-01-282-8/+14
| | | | | | | Fix bdb scripts backup.sh and storeUpgrade.sh so they successfully handle QPID_HOME and store paths containing spaces. This problem was shown up on Jenkins, as the profile directories of the Jenkins Matrix contain spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1237029 13f79535-47bb-0310-9956-ffa450edef68