summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 868360 - QPID-4379: HA does not properly handle expired messages.Alan Conway2012-10-191-0/+15
| | | | | | | The trunk is not affected by this bug, so this commit is just to add the regression test that proves it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Added cmake fragment missed in last commitGordon Sim2012-10-191-0/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Pluggable AMQP 1.0 implementation for broker and clientGordon Sim2012-10-1988-44/+10853
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Allow pluggable protocol implementationsGordon Sim2012-10-1916-40/+373
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Define SASL server role that is free from the AMQP 0-10 handshakeGordon Sim2012-10-198-6/+393
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Updated protocol version header handling to recognise 1.0 headersGordon Sim2012-10-192-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add protocol description to connection schemaGordon Sim2012-10-191-1/+1
| | | | | | | Conflicts: qpid/cpp/src/qpid/broker/Connection.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400174 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Make security strength factor a property of the security layerGordon Sim2012-10-195-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400173 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Read any extra data available after protocol headerGordon Sim2012-10-192-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400172 13f79535-47bb-0310-9956-ffa450edef68
* Fix recovering a zero-length message. Fixes QPID-3491.Stephen D. Huston2012-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4378 C++ Broker deletes dynamin bridges too aggressively.Charles E. Rolke2012-10-181-2/+2
| | | | | | | | | Link state should not control bridge life cycle. Reviewed by Ted Ross. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399837 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 r139931 Fix self test to use proper switch name.Charles E. Rolke2012-10-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399828 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Make QueueGuard::cancel idempotent (Jason Dillaman)Alan Conway2012-10-182-13/+12
| | | | | | | Added QueueGuard::cancelled, only call cancel once. Don't enqueue after cancel. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399814 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Use configurable credit window for HA backup ↵Alan Conway2012-10-185-20/+41
| | | | | | subscriptions (Jason Dillaman) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399813 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Reduce contention on Queue::messageLock (Jason Dillaman)Alan Conway2012-10-182-6/+7
| | | | | | Introduce a separate lock for Queue::UsageBarrier. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 Repair r1399311 with more fluent CLI switch nameCharles E. Rolke2012-10-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 fix ambiguous CLI args; restore C++ broker schema propertyCharles E. Rolke2012-10-175-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3892 checkin r1362014 - add AclTopicMatch.h to the automake schemeCharles E. Rolke2012-10-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399279 13f79535-47bb-0310-9956-ffa450edef68
* MQPID-4286: QMF queries for HA replication take too long to process (Jason ↵Alan Conway2012-10-1535-1220/+1118
| | | | | | | | | | Dillaman) Rework ManagementAgent locks, get rid of shared buffers that were points of contention. Minor log message improvements in ha code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1398530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4345: plug Windows memory leak on close (async write error)Clifford Allan Jansen2012-10-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397926 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4350 BZ860701 HA handle autodelete queues - repair windows buildCharles E. Rolke2012-10-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397735 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on windows.Alan Conway2012-10-121-1/+1
| | | | | | Using a private class typedef in a free function. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4369: HA backup brokers core dump in benchmark test.Alan Conway2012-10-125-24/+26
| | | | | | | | Was seeing core dumps with QueueReplicator::queue == 0. Caused by race conditions when calling QueueReplicator::deactivate. Renamed deactivate to destroy and call it only when the broker::Queue is destroyed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397676 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix tests output of priorityGordon Sim2012-10-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397507 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused classGordon Sim2012-10-125-116/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397506 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused methodGordon Sim2012-10-122-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4349: Duplicate messages with alternate exchange.Alan Conway2012-10-111-0/+27
| | | | | | | This check-in is a test only, the issue was fixed as a side effect of the fix for QPID-4350. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397295 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compilation errorGordon Sim2012-10-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397279 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix spelling if --link-maintenace-interval option and add ↵Alan Conway2012-10-112-3/+5
| | | | | | | | descriptive text. Also added description for --link-heartbeat-interval git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397253 13f79535-47bb-0310-9956-ffa450edef68
* Bug 860701 - QPID-4350: HA handle auto-delete queuesAlan Conway2012-10-1110-86/+326
| | | | | | | Subscribed auto-delete queues are deleted by the backup. Timed auto-delete queues are deleted after the timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4360: Fix test bug: Non-ready HA broker can be incorrectly promoted to ↵Alan Conway2012-10-096-50/+52
| | | | | | | | | | | primary. Test test_delete_missing_response was failing with "cluster active, cannot promote". - Fixed test bug: "fake" primary triggered "cannot promote". - Backup: always create QueueReplicator if not already existing. - Terminology change: "initial" queues -> "catch-up" queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1396244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4360 Fix unix/windows builds after commit 1394706Charles E. Rolke2012-10-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1395627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4360: Non-ready HA broker can be incorrectly promoted to primaryAlan Conway2012-10-0511-13/+243
| | | | | | | | | | | | A joining broker now attempts to contact all known members of the cluster and check their status. If any brokers are in a state other than "joining" the broker will refuse to promote. This will allow rgmanager to continue to try addresses till it finds a ready brokers. Note this reqiures ha-brokers-url to be a list of all known brokers, not a virtual IP. ha-public-url can still be a VIP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1394706 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add log messages to identify QueueReplicator associated with a ↵Alan Conway2012-10-032-0/+23
| | | | | | session error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4347: do not store Links/Bridges if they are created via recovery.Kenneth Anthony Giusti2012-10-033-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393479 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4285: HA backups continuously disconnect / re-sync after attempting to ↵Alan Conway2012-10-026-14/+58
| | | | | | | | | | | | | replicate a deleted queue Fixes queues getting into a partially deleted state: previously when a broker was promoted, it did not clean up it's QueueReplicators. The QueueReplicators keep a shared_ptr to the Queue so this kept Queues in memory after they were destroyed. It also kept them in QMF, since the management object is unregistered in the destructor. This patch cleans up properly on promotion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4285: HA backups continuously disconnect / re-sync after attempting to ↵Alan Conway2012-10-027-24/+156
| | | | | | | | | | | | | | | | replicate a deleted queue. (Based on patch by Jason Dillama) This does not directly tackle the origin of the problem but extends Jasons's patch since it addresses something we had to fix anyway: "leaking" queues and exchanges. It does 2 things. 1. enabled hideDeletedError on all subscription objects used by HA This suppress the troublesome exception with a harmless no-op 2. Delete queues/exchanges missing from responses (based on Jasons patch) Fix the "leak" of queues and exchanges possible when an object replicated to a backup is deleted from the newn primary before the backup connects. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4330: Windows static destructors: threadSafeShutdown() testClifford Allan Jansen2012-09-3010-16/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1392093 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix logging in ha_tests.pyAlan Conway2012-09-272-171/+200
| | | | | | | | | | In order to suppress unwanted warnings from certain test, the ha_test framework was actually turning off all python logging. This patch selectively turns off wanrnings in specific code regions and then restores the configured logging level. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391232 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA shortened prefix for ha headers to qpid.ha-.Alan Conway2012-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1390628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4325: HA Starting from persistent storeAlan Conway2012-09-2515-261/+471
| | | | | | | | | | | When re-starting a persistent HA cluster, the broker that becomes primary should keep its store data while all the backup brokers should discard their store data and catch up from the primary. Backups cannot simply use their own stores because sequence numbers of stored messages will not match on all brokers. The backup erases individual queues and exchanges as the catch-up process gets to them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1390123 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Mark built-in exchanges as non-replicated.Alan Conway2012-09-251-5/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389663 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing initializers on ha::BrokerInfo contstructor.Alan Conway2012-09-243-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3500 C++ qpidd broker --help should work despite parse errorsCharles E. Rolke2012-09-205-27/+84
| | | | | | | | | | This patch finds and processes --version before anything else. Then it finds --help before fully parsing command line options. In the event of a parse error, help usage may be shown as requested. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4322: HA sporadic failure in ha_tests Alan Conway2012-09-198-48/+48
| | | | | | | Added Queue::getRange to get range atomically, fixes races around getting the front and backup of the range as two separate operations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387785 13f79535-47bb-0310-9956-ffa450edef68
* qpid-4317 make browse-only x-arg string similar to othersMichael Goulish2012-09-182-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4290: HA auto-delete queues are not deleted (Author: Andy Goldstein)Alan Conway2012-09-174-22/+45
| | | | | | | ReplicatingSubscription was being counted as a consumer and preventing auto-delete queues from being deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386672 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA minor log message improvement.Alan Conway2012-09-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4223: HA Completion isn't sent when queue that has acquired but ↵Alan Conway2012-09-145-32/+61
| | | | | | | | | | | unacknowledged messages is deleted - Extended ha_test.py test_failover_send_receive to kill backup as well as primary - QueueRegistry::destroy was not calling observer. - Primary removes disconnected brokers backups and expectedBackups - Primary calls checkReady in all cases where broker is removed from expectedBackups git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384882 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA improved logging messages.Alan Conway2012-09-146-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384881 13f79535-47bb-0310-9956-ffa450edef68