summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3603: Make link maintenance interval configurable.qpid-3603-6Alan Conway2012-02-144-6/+15
| | | | | | | | HA code needs faster reconnects than federation. This is a temporary solution till we have a more robust and rapid reconnect mechanism in place. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244106 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added failover test for HA brokers.Alan Conway2012-02-142-7/+59
| | | | | | Disabled: failing due to known issue in current code, enable when fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix core dump in Link::requestIOProcessing.Alan Conway2012-02-143-31/+25
| | | | | | | | | | | Core dump occuring when a link was closed before being completely opened. - Merge Link::established and setConnection into one atomic function. - Moved logic that needs to be executed in a connection thread from ~Link to Link::destroy Link::destroy is always called in connection thread, ~Link can be called later if another thread is holding a reference. - Added some asserts to verify functioning as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Format the seconds part of high-resolution timestamps.Alan Conway2012-02-143-3/+5
| | | | | | Hi-res timestamps are now formatted like this: 2012-02-02 17:40:20.236067000 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Additional debug logging for messaging client connections.Alan Conway2012-02-143-21/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA brokers set known-hosts to the HA broker-url.Alan Conway2012-02-145-31/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244100 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: c++ messaging API: allow floating point reconnect durations in ↵Alan Conway2012-02-146-64/+99
| | | | | | | | | seconds. Allow sub-second intervals, e.g. reconnect_interval_min=0.001 for a millisecond interval. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Speed up qpid-ha-tool with fast QMF2 method calls.Alan Conway2012-02-144-26/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Simplified Link failover.Alan Conway2012-02-1411-252/+239
| | | | | | | | | - Moved timer from LinkRegistry to Link. - Got rid of remapping code, simplified failover. - Faster interval for maintenance intervals. - Test for simple HA broker failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker close backup link when promoted.Alan Conway2012-02-144-13/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Reconnect URL in broker::LinkAlan Conway2012-02-1410-80/+113
| | | | | | | | - Flatten known-hosts in Link to a single URL. - Circular retry on failover URL. - Allow setting a different retry URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set known hosts at connection open in Link.Alan Conway2012-02-144-11/+18
| | | | | | Formerly were being set during periodic maintenance. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244092 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Restore default --sequence=no to qpid-cpp-benchmark.Alan Conway2012-02-142-0/+5
| | | | | | | Setting --sequence=yes to qpid-send has a significant impact on throughput, restoring original default so results before/after the change are comparable. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244091 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: minor updates to new-ha-design.txtAlan Conway2012-02-141-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244090 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor edits to new-ha-design.txtAlan Conway2012-02-141-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename qpid-ha-status to qpid-ha-tool, get/set client & broker URLsAlan Conway2012-02-146-100/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Updates to design doc to reflect current code & plans.Alan Conway2012-02-141-59/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Get rid of broker_url="primary" hack, promote primaries via ↵Alan Conway2012-02-1410-52/+68
| | | | | | management. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244086 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3603: Remove FIXME comment from python driver.py"Alan Conway2012-02-141-2/+4
| | | | | | | This reverts r1235975 which had an incorrect change to qpid.tests.messaging.endpoints.ReceiverTests.testMode git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA enforces management enabled.Alan Conway2012-02-141-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Update to HA design docs.Alan Conway2012-02-143-103/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Change replication level names, update doc notes.Alan Conway2012-02-144-48/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Remove FIXME comment from python driver.pyAlan Conway2012-02-141-4/+2
| | | | | | Fix agreed on by rhs. Updated test endpoints.py from trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test to verify C++ client failover is working.Alan Conway2012-02-145-48/+71
| | | | | | - TcpConnector: set identifier early so it is available in error messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Use client-properties to signal admin connections.Alan Conway2012-02-1414-59/+138
| | | | | | | | | | qpid-ha-admin sets a client-property to indicate an admin connection. Added support for setting client-property in python clients. Added support for getting client-property in a broker. ConnectionExcluder checks admin property. Removed old user-based checks. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set connection.start client-properties argument from python.Alan Conway2012-02-145-9/+17
| | | | | | | The client-properties can be specified for old-API, new-API and QMF connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Refactor LinkRegistry to use a ConnectionObserver.Alan Conway2012-02-146-22/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244077 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup rejects client connections.Alan Conway2012-02-1412-14/+231
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix replication of unbind events.Alan Conway2012-02-141-15/+16
| | | | | | | Old clients can omit certain map values. Previously this caused an error, now a void value is treated as an empty map. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replicate unbind events.Alan Conway2012-02-143-14/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Do case-insensitive string comparison for replication levels.Alan Conway2012-02-141-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244073 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename WiringReplicator to BrokerReplicator.Alan Conway2012-02-146-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor FIXME cleanup.Alan Conway2012-02-142-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix QueueReplicator lifecycle, shared pointer cycle.Alan Conway2012-02-142-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244070 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Hide "queue deleted" errors detected for a ReplicatingSubscription.Alan Conway2012-02-145-4/+15
| | | | | | | This is not an error, its normal for ReplicatingSubscriptions to be still running when a queue is deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Sync cmake with automakeAlan Conway2012-02-141-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Handle backup crash/shutdown.Alan Conway2012-02-1411-87/+139
| | | | | | | | If a backup crashes or shuts down any messages that have been delayed completion for that backup must be marked complete to avoid the primary hanging. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Check for gaps in sequence numbers in qpid-receive.Alan Conway2012-02-141-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Logging improvements for bridges, links and HA classes.Alan Conway2012-02-145-37/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA logging improvements.Alan Conway2012-02-144-16/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix memory management error in QueueReplicator.cppAlan Conway2012-02-143-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244063 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Code cleanup to make ReplicatingSubscription more readable.Alan Conway2012-02-141-29/+23
| | | | | | Clarified deliver() and dequeued() logic and locking. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix initialization race in QueueReplicator.Alan Conway2012-02-142-3/+6
| | | | | | | Was core dumping occasionally due to QueueReplicator being deleted before it was initialized. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Lifecycle and locking fixes for QueueReplicatorAlan Conway2012-02-143-5/+16
| | | | | | | | | | | | Separate bridge de-activation from destruction in QueueReplicator: Only deactivate if destroyed by the WiringReplicator because of a queue delete. If destroyed for any other reason (e.g. broker destruction) don't de-activate the bridge as required resources may not exist. Added missing locks in QueueReplicator functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Format static log prefixes at consutruction time.Alan Conway2012-02-144-30/+27
| | | | | | | Creating the prefix dynamically caused sporadic core dumps with trace logging on. It is also inefficient. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Independent isDelayedCompletion for ↵Alan Conway2012-02-142-3/+5
| | | | | | | | ReplicatingSubscription::DelegatingConsumer The event messages sent to this consumer do not have delayed completion. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244057 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Delete HA resources (QueueReplicator) along with the queues.Alan Conway2012-02-144-14/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244056 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Clean up HA log messages.Alan Conway2012-02-1411-164/+92
| | | | | | | | - Reduce verbosity, drop unknown event messages. - Lots of clarifications - Fix minor test bug in ha_tests.py. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added backup connection identifier to logging output.Alan Conway2012-02-143-8/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix race condition in setting initial position of ↵Alan Conway2012-02-143-20/+8
| | | | | | ReplicatingSubscription. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-6@1244053 13f79535-47bb-0310-9956-ffa450edef68