summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Repair typo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-1983-278/+6
| | | | | | | | Remove corporate copyright notices. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4516: Sporadic failure in ha_tests test_failover_send_receiveAlan Conway2012-12-198-32/+31
| | | | | | | | | | | | | | | | Sporadic failures in ha_tests.py test_failover_send_receive. Two types of failure observed: - core dumps in a debug build at a C++ assertion - python test assertion like: AssertionError: Broker<137:cluster0-0.log qpidd-157 :35273> expected='ready', actual='catchup' The following fixes were made to correct the problem: - Missing break statement in switch. - Remove unused function HaBroker::resetMembership - Abort connection of timed-out backups so they can attempt to reconnect. - New primary resets membership before allowing backups to connect. - Remove incorrect demotion ready->catchup on timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Disable building the legacystore component until it has further hardening. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed storeCharles E. Rolke2012-12-191-0/+68
| | | | | | | | Add new file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: still more testsAlan Conway2012-12-1914-2126/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: more testsAlan Conway2012-12-1915-1412/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: cleanup testsAlan Conway2012-12-1926-4520/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: obsolete valgrind suppressions.Alan Conway2012-12-191-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: ManagementAgentAlan Conway2012-12-192-35/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStorePluginAlan Conway2012-12-195-70/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Connection::isAuthenticatedAlan Conway2012-12-194-19/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStoreAlan Conway2012-12-195-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Queue, Semanticstate, SessionHandlerAlan Conway2012-12-197-32/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: get rid of StatefulQueueObserver.Alan Conway2012-12-196-172/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: QueueFlowLimitAlan Conway2012-12-192-77/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageGroupManager, MessagesAlan Conway2012-12-192-21/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: LinkRegistryAlan Conway2012-12-192-15/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxWorkRecordAlan Conway2012-12-192-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxManager, more Broker, ↵Alan Conway2012-12-199-67/+2
| | | | | | Connection, Link. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Broker, Connection, Link.Alan Conway2012-12-1911-114/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: AclConnectionCounterAlan Conway2012-12-191-61/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code, clusterOrderProxyAlan Conway2012-12-195-40/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: getClusterTimer.Alan Conway2012-12-193-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: updated INSTALL instructions.Alan Conway2012-12-191-69/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: ManagementAgent, Timer, docAlan Conway2012-12-1913-975/+3
| | | | | | WIP: rip out old cluster code, misc. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4207: Fix distcheck errors for swig .i files.Alan Conway2012-12-193-5/+1
| | | | | | | | | | Introduced in r1414294: "QPID-4207 : in Relocated all swig .i files to the include directory." The new Makefile.am were set up to distribute the files from the new location but the old Makefile.am were not updated to remove the EXTRA_DIST entries for the old locations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, QPID hosted storeCharles E. Rolke2012-12-1987-1/+18321
| | | | | | | | | | This checkin lands the store mission code. Tests to follow. Review at https://reviews.apache.org/r/8556 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424091 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add explicit type for large constantsKenneth Anthony Giusti2012-12-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424072 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix core dump if ha plugin is loaded but ha-cluster=noAlan Conway2012-12-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4511: move the broker-plugins lib dir under build/scratch to prevent it ↵Robert Gemmell2012-12-193-5/+5
| | | | | | | | being included in the binary produced by 'ant release'. Updates the 'if' conditional on the copy target for compatibility with Ant versions < 1.7.1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4458: remove unused subdirs and files from gentools then move the ↵Robert Gemmell2012-12-1877-14493/+22
| | | | | | | | | | | remainder src to java/common/gentools. - Integrate into the java common module build process - Retrieve the Velocity dependencies using Ivy. - Remove unused java/common/protocol-version.xml and cpp/src/generate.sh files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4505: Fixes to the Perl language bindings revealed by the tests.Darryl L. Pierce2012-12-181-16/+118
| | | | | | | In writing the unit tests some deficiencies were discovered in the Perl bindings. Those are fixed here. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4505: Provide Perl unit tests.Darryl L. Pierce2012-12-187-59/+535
| | | | | | | | These tests ensure that the Perl language bindings are working as expected, and that changes to either the underlying C++ implementation or the Perl bindings themselves don't break those expectations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423688 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added ChangeLog entries for Perl bindings.Darryl L. Pierce2012-12-181-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4416: Perl bindings fail on getContentPtr with null in the contentDarryl L. Pierce2012-12-181-0/+25
| | | | | | Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4466: Add support for Duration multiplication to Ruby bindings.Darryl L. Pierce2012-12-182-0/+43
| | | | | | | You can now multiply a Qpid::Messaging::Duration instance and get back a new instance of Qpid::Messaging::Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4466: Cannot multiply Durations in Perl bindings.Darryl L. Pierce2012-12-181-0/+6
| | | | | | | | | Adds a swig wrapper for the operator* code from C++ into the Perl bindings. Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423566 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed old cluster only fileAndrew Stitcher2012-12-181-117/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4507: Perl bindings were not properly handling int8 and uint8 types.Darryl L. Pierce2012-12-141-4/+4
| | | | | | | Handlers were in place to map between 16-64 bit types but not the 8-bit types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1422060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4506: Qpid HA's '--ha-public-url' option duplicates the ↵Alan Conway2012-12-147-35/+70
| | | | | | | | | | | | | | '--known-hosts-url' option but cannot be disabled Reverts the previous commit and simplifies the semantics of setting --ha-public-url and --ha-brokers-url. There is no longer any over-riding or implicit updating of values. That means you must set --ha-public-url as well as --ha-brokers-url, it will not be defaulted. Likewise if you *dont* set ha-public-url, it will remain empty, which is the use case in this bug. The defaulting was adding complexity without adding much value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1421934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2012-12-143-20/+13
| | | | | | | | | | | | | | | | suprious open/idle alerts and close client connections/sessions without good cause Race conditon existed between the initial check that determined transaction timeout detection was required and the subsequent re-observeration required to perform the open and idle calculation. In the unlucky timing, the state of the transaction changed between these two points. (To produce the time-since-epoch type the transaction needs to be committed between these two points). Changed checkTransactionStatus so that transactionStartTime and transactionUpdateTime are observed once only. There still exists the possibility that the transaction status change change between the reading of transactionStartTime and transactionUpdateTime times, but I do not see how this could produce a suprious report (or close). The alternative (to take a locks to ensure consistent observations are made) seems unjustifiably costly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1421884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4481: HA replication of propagated bindings can lead to incorrect ↵Alan Conway2012-12-1114-23/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration When using dynamic federation between two independent HA broker clusters, it is possible under certain failover scenarios for the propagated bindings on the source broker to become out-of-sync with the true state of bindings on the destination broker. How reproducible: Often -- race condition between re-establishment of federated link and the deletion of a binding on the destination broker Steps to Reproduce: 1. Start a stand-alone broker (route destination) and an HA broker (route source w/ primary and backup) 2. Configure a dynamic federated route between a destination broker and a source broker. The dynamic federation needs to utilize an existing, non-auto-delete queue on the source broker. 3. Subscribe to an auto-delete queue on the destination broker and bind the auto-delete queue to the exchange configured for the dynamic federation 4. Kill the primary source broker 5. Kill the subscription to the auto-delete queue on the destination broker 6. Promote the backup source broker to primary Actual results: With the loss of the client subscription to the auto-delete queue, the binding will be removed. If the binding is removed prior to the re-establishment of the federated link to the source broker, the unbind command will not propagate. Since the backup source broker had previously replicated the propagated binding, the binding will incorrectly remain on the source broker. Expected results: Propagated bindings should not be replicated from the primary to backups since they are transient and will be recreated when the route is re-established.))) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4499: Installs qpid.i, qmfengine.i and qmf2.i into include directory.Darryl L. Pierce2012-12-111-1/+5
| | | | | | | The three files are needed by the language bindings and so should be delivered as a part of the installation of Qpid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-1116-8/+314
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420285 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove empty files from treeGordon Sim2012-12-116-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4498: HA module should only initialize if requested Alan Conway2012-12-104-7/+54
| | | | | | | | | | This commit provides better control over loading the HA module. In particular it is not loaded if no ha options are set. This will prevent clashes with the old cluster plugin in configurations where the HA module is not explicitly used. HA documentation has been updated to state that HA and old cluster cannot be used together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Fixed a typo in the error message and adjusted the ifRajith Muditha Attapattu2012-12-101-2/+8
| | | | | | condition to confirm to the Qpid coding style. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419708 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: only perform the uptodate check on dojo at the precompile point, ↵Robert Gemmell2012-12-091-3/+5
| | | | | | | | | after the lib will have been downloaded and put in place by Ivy. Prevents failure at the management-http module when using a fresh checkout and running a non-build target (e.g clean) before the first build operation is performed, as encountered occasionally on CI nodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3317 Adjusted the test after adding the exception for marking tempRajith Muditha Attapattu2012-12-071-1/+1
| | | | | | queues as durable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418543 13f79535-47bb-0310-9956-ffa450edef68