summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1384881 13f79535-47bb-0310-9956-ffa450edef68
* Jira QPID-4142Michael Goulish2012-09-141-0/+32
| | | | | | | auto test for browse-only queues - using messaging interface git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1384851 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed now unused cluster specific ClusterSafe code.Andrew Stitcher2012-09-1310-189/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1384555 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA fix deadlock between Link and HaBrokerAlan Conway2012-09-122-22/+31
| | | | | | | | | | HaBroker::setBrokerUrl was calling Link::setUrl (via Backup::setBrokerUrl) with lock held Link::ioThreadProcessing called HaBroker::getStaus with lock held. In HaBroker, moved calls to Backup out of lock scope in HaBroker::setMembership and haBroker::setBrokerUrl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1384095 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed replication_test, unused test for defunct feature.Alan Conway2012-09-116-384/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383536 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Correct bug in ReplicatingSubscription::getNext - find next message ↵Alan Conway2012-09-113-8/+9
| | | | | | *after* position. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383453 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix race in Connection, management object deleted while in use.Alan Conway2012-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383452 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4293: HA broker crashes on startupAlan Conway2012-09-101-1/+1
| | | | | | Caused by invalid enum value in un-initialized member. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4259, QPID-4262: HA broker can crash due to priority queue corruptionAlan Conway2012-09-101-2/+16
| | | | | | Already fixed on trunk. Comitting just the regression test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1383093 13f79535-47bb-0310-9956-ffa450edef68
* Jira QPID-4142Michael Goulish2012-09-104-0/+20
| | | | | | | | browse-only queues git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4174: add client properties to client-related events. Original patch ↵Kenneth Anthony Giusti2012-09-102-21/+28
| | | | | | from Pavel Moravec git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4142 C++ Broker connection counting. Revert r1371772 which applied only ↵Charles E. Rolke2012-09-076-62/+0
| | | | | | to 0.18 and is obsolete on trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2393 Acl counts queues. Fix unit name in management stat. (from r1376961)Charles E. Rolke2012-09-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382100 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4268 C++ Broker Acl support for limiting on-disk store file size and countCharles E. Rolke2012-09-077-1/+345
| | | | | | | | Reviewed at https://reviews.apache.org/r/6838/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4257 Windwos + SSL: broker/client memory leaks and client hang. Patch ↵Charles E. Rolke2012-09-071-2/+12
| | | | | | from Kerry Bonin git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4248: HA does not replicate topic binding keys to backups (Author: Andy ↵Alan Conway2012-09-062-10/+16
| | | | | | | | | Goldstein) The issue is that QMF query responses call the binding key "bindingKey" while QMF bind events call it "key", and the code was only looking for "key" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1381728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Increase default negotiation timeout to 10 secondsJustin Ross2012-09-061-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1381690 13f79535-47bb-0310-9956-ffa450edef68
* Fix signed/unsigned compiler warning. NO-JIRAStephen D. Huston2012-09-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1381622 13f79535-47bb-0310-9956-ffa450edef68
* Use command-line and service-start parameters in broker started as a ↵Stephen D. Huston2012-09-041-1/+34
| | | | | | service. Resolves QPID-4269. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1380890 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make ssl setTcpNoDelay interface same as TCPAndrew Stitcher2012-08-293-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378663 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove obsolete and now unused codeAndrew Stitcher2012-08-294-42/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378662 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove redundant stuff from SslSocketAndrew Stitcher2012-08-293-37/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378661 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: keep ssl in line with removing const qualifier from encode bufferAndrew Stitcher2012-08-281-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378284 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove const qualifier from encode buffer; additional change ↵Gordon Sim2012-08-281-3/+3
| | | | | | required for rdma support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378261 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove const qualifier from encode buffer (can't encode into if it ↵Gordon Sim2012-08-289-13/+13
| | | | | | is const, and impls const cast it anyway) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4249 TopicExchange binding lookup for all routing keysCharles E. Rolke2012-08-243-11/+152
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1377130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2393 Limit number of queues per user.Charles E. Rolke2012-08-2412-7/+366
| | | | | | | | | Merge work from branches/qpid-2393 This scheme works for old HA as long as cluster members run with the same --max-queues-per-user setting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1376961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4230 Username substitution keywords in Acl file. Repair function ↵Charles E. Rolke2012-08-211-4/+4
| | | | | | definitions that fail Windows compile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1375583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4230 (review 6645) Username substition keywords in Acl file.Charles E. Rolke2012-08-205-13/+738
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1375195 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4234: ensure configuration observers see queue deletionGordon Sim2012-08-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: Test value specified for no-local, rather than assuming its trueGordon Sim2012-08-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373431 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Initialize variable before its use.Charles E. Rolke2012-08-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: Mark literals as unsigned intsGordon Sim2012-08-151-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373409 13f79535-47bb-0310-9956-ffa450edef68
* Resolves QPID-4084, changing the format of high-res logged time from ↵Stephen D. Huston2012-08-141-14/+60
| | | | | | seconds-since-start to date/time, consistent with the POSIX version of the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373147 13f79535-47bb-0310-9956-ffa450edef68