summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/federation.py
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: fix sporadic federation test_pull_from_queue_recovery test failuresKenneth Anthony Giusti2013-04-171-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4728: add 'credit' parameter to Federation Bridge configuration.Kenneth Anthony Giusti2013-04-111-28/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1467107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4481: HA replication of propagated bindings can lead to incorrect ↵Alan Conway2012-12-111-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4063: remove spurious whitespace introduced in last commit.Kenneth Anthony Giusti2012-06-181-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4063: allow configuration of source queue for exchange or dynamic routesKenneth Anthony Giusti2012-06-181-1/+164
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4066 - Allow configuration to override the broker's federation tagTed Ross2012-06-151-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350732 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: add additional test case for link sharing.Kenneth Anthony Giusti2012-05-241-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: re-index bridge and link by constant name, not addressKenneth Anthony Giusti2012-05-041-8/+181
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1334138 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Get more information from failed assertionsGordon Sim2011-09-071-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352 - Federation bridge doesn't recover from session errorsTed Ross2011-07-121-0/+57
| | | | | | | Applied patch from Jason Dillaman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1145706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3298: don't include the internal federation related args in the biding ↵Gordon Sim2011-06-091-3/+10
| | | | | | for headers exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3170: correct deletion of federation routes when keys match.Kenneth Anthony Giusti2011-04-081-1/+299
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090266 13f79535-47bb-0310-9956-ffa450edef68
* Fixes QPID-2499: Stale federation routes remain after route deletion.Jonathan Robie2011-01-131-40/+33
| | | | | | | | | | | | | Federated binds and unbinds need to know which federation origins are associated with the bindings for each queue. When origins are added or deleted, the corresponding bindings need to be propagated. fedBindings[queueName] contains the origins associated with the given queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058747 13f79535-47bb-0310-9956-ffa450edef68
* Adds support for federation in the XML exchange.Jonathan Robie2010-10-201-0/+159
| | | | | | | | | Resolves QPID-2348 for the XML Exchange. Also made some changes to the file structure for fedop constants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1025780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2875: wait for federation configuration to settle before testing route ↵Kenneth Anthony Giusti2010-09-211-21/+78
| | | | | | propagation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2691: ensure ttl adjustment uses correct expiration on cloned messageGordon Sim2010-06-241-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@957511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: remove call to reversed() - not in pre2.4 python, increased bind ↵Kenneth Anthony Giusti2010-04-201-9/+9
| | | | | | timeouts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935787 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: add wait for new exchange to appear in qmfKenneth Anthony Giusti2010-04-191-22/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: fix route propagation tests to prevent spurious timeouts.Kenneth Anthony Giusti2010-04-161-58/+263
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: add federation tests to verify bugfix.Kenneth Anthony Giusti2010-04-091-0/+550
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2482: prevent duplication of messages that match multiple binding keys ↵Kenneth Anthony Giusti2010-04-061-0/+51
| | | | | | on a topic exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2348 - [C++] The HeadersExchange does not support federationTed Ross2010-02-011-0/+153
| | | | | | | Applied patch from Sam Joyce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@905322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2045 - crash when destroying a federation link with a dynamic bridgeTed Ross2009-09-031-2/+7
| | | | | | | Committed patch from Ken Guisti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2050 - leak of bridge objectsTed Ross2009-09-021-0/+14
| | | | | | | Committed patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810693 13f79535-47bb-0310-9956-ffa450edef68
* Improved the cleanup-check at the end of every federation testTed Ross2009-08-191-35/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1971 - bind in fedOpReorigen mode is not threadsafe for TopicExchangeTed Ross2009-08-131-0/+124
| | | | | | | | Applied patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803996 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-111-61/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803270 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1567: added 'exactly-once' guarantee to asynchronous replication of ↵Gordon Sim2009-01-201-12/+11
| | | | | | | | | | | | queue state * altered replication protocol to detect and eliminate duplicates * added support for acknowledged transfer over inter-broker bridges * added option to qpid-route to control this git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1526: add checks for exclusive ownership plus tests to verify they are ↵Gordon Sim2008-12-101-1/+1
| | | | | | executed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@725483 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1348 - Dynamic binding for federation. Parameterized exchange names ↵Ted Ross2008-10-241-104/+230
| | | | | | for CPP examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1366 - implementation of automatic anti-looping for federationTed Ross2008-10-161-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1349 - Push routing for federation (includes hook for dynamic routing)Ted Ross2008-10-101-0/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1113 Management cleanup and performance enhancementsTed Ross2008-06-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@662470 13f79535-47bb-0310-9956-ffa450edef68
* Support for AMQP 0-10 sessions in C++ broker.Alan Conway2008-05-201-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@658246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-990: Patch from Ted Ross to enable persisting of inter-broker routing ↵Gordon Sim2008-05-131-2/+3
| | | | | | entities git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656023 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1052: Patch from Ted RossGordon Sim2008-05-121-0/+9
| | | | | | | | | | | | This patch contains the following: 1) The session-id reported by the management API now matches the session.name in the session table 2) management.py API has a new callback for closed connections 3) qpid-tool uses the closed-connection handler to notify the user of a lost connection git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@655619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1050: Patch from Ted Ross:Gordon Sim2008-05-121-23/+17
| | | | | | | | | | | | | | | | | 1) Durability for federation links (broker-to-broker connections) 2) Improved handling of federation links: a) Links can be created even if the remote broker is not reachable b) If links are lost, re-establishment will occur using an exponential back-off algorithm 3) Durability of exchanges is now viewable through management 4) ManagementAgent API has been moved to an interface class to reduce coupling between the broker and manageable plug-ins. 5) General configuration storage capability has been added to the store/recover interface. This is used for federation links. 6) Management object-ids for durable objects are now themselves durable. (Note: some refactoring needed around ProtocolAccess needed to try and reduce dependencies) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@655563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-977: shutdown mgmt client cleanly in federation tests (patch from ↵Gordon Sim2008-04-291-5/+85
| | | | | | | | | tross@redhat.com) QPID-981: added custom options to queue declare to tag each message as it goes through a bridge queue and allow loop prevention through specifying exclusions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652075 13f79535-47bb-0310-9956-ffa450edef68
* Moved federation to final 0-10 codepathGordon Sim2008-04-221-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: update cpp and python management to 0-10 finalRafael H. Schloming2008-04-221-24/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650565 13f79535-47bb-0310-9956-ffa450edef68
* Fixes and automated tests for federation function.Gordon Sim2008-04-091-0/+191
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646505 13f79535-47bb-0310-9956-ffa450edef68