summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Create branch qpid-3603-3qpid-3603-3Alan Conway2012-02-130-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-3@1243587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Make link maintenance interval configurable.qpid-3603-2Alan Conway2012-02-134-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-2@1243586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added failover test for HA brokers.Alan Conway2012-02-132-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-2@1243585 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix core dump in Link::requestIOProcessing.Alan Conway2012-02-133-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-2@1243584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Format the seconds part of high-resolution timestamps.Alan Conway2012-02-133-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-2@1243583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Additional debug logging for messaging client connections.Alan Conway2012-02-133-21/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA brokers set known-hosts to the HA broker-url.Alan Conway2012-02-135-31/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: c++ messaging API: allow floating point reconnect durations in ↵Alan Conway2012-02-136-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-2@1243579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Speed up qpid-ha-tool with fast QMF2 method calls.Alan Conway2012-02-134-26/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Simplified Link failover.Alan Conway2012-02-1311-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-2@1243577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker close backup link when promoted.Alan Conway2012-02-134-13/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Reconnect URL in broker::LinkAlan Conway2012-02-1310-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-2@1243575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set known hosts at connection open in Link.Alan Conway2012-02-134-11/+18
| | | | | | Formerly were being set during periodic maintenance. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Restore default --sequence=no to qpid-cpp-benchmark.Alan Conway2012-02-132-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-2@1243526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: minor updates to new-ha-design.txtAlan Conway2012-02-131-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1243524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor edits to new-ha-design.txtAlan Conway2012-02-101-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1242664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename qpid-ha-status to qpid-ha-tool, get/set client & broker URLsAlan Conway2012-02-036-100/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1240293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Updates to design doc to reflect current code & plans.Alan Conway2012-02-031-59/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1240219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Get rid of broker_url="primary" hack, promote primaries via ↵Alan Conway2012-01-2710-52/+68
| | | | | | management. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1236846 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3603: Remove FIXME comment from python driver.py"Alan Conway2012-01-271-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-2@1236844 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA enforces management enabled.Alan Conway2012-01-251-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235978 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Update to HA design docs.Alan Conway2012-01-253-103/+124
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Change replication level names, update doc notes.Alan Conway2012-01-254-48/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Remove FIXME comment from python driver.pyAlan Conway2012-01-252-6/+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-2@1235975 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test to verify C++ client failover is working.Alan Conway2012-01-255-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-2@1235871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Use client-properties to signal admin connections.Alan Conway2012-01-2515-60/+141
| | | | | | | | | | 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-2@1235870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set connection.start client-properties argument from python.Alan Conway2012-01-255-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-2@1235869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Refactor LinkRegistry to use a ConnectionObserver.Alan Conway2012-01-256-22/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup rejects client connections.Alan Conway2012-01-2512-14/+231
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235867 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3352: Fix test for failed session to avoid confusion with as ↵Alan Conway2012-01-255-12/+7
| | | | | | | | | yet uninitialised session" This reverts commit r1233083. It caused a test failure run_federation_tests: federation.FederationTests.test_pull_from_queue_recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1235866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix replication of unbind events.Alan Conway2012-01-191-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-2@1233690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replicate unbind events.Alan Conway2012-01-193-14/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Do case-insensitive string comparison for replication levels.Alan Conway2012-01-191-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename WiringReplicator to BrokerReplicator.Alan Conway2012-01-196-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor FIXME cleanup.Alan Conway2012-01-192-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix QueueReplicator lifecycle, shared pointer cycle.Alan Conway2012-01-192-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233684 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Hide "queue deleted" errors detected for a ReplicatingSubscription.Alan Conway2012-01-195-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-2@1233683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Sync cmake with automakeAlan Conway2012-01-191-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Handle backup crash/shutdown.Alan Conway2012-01-1911-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-2@1233681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Check for gaps in sequence numbers in qpid-receive.Alan Conway2012-01-191-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Logging improvements for bridges, links and HA classes.Alan Conway2012-01-195-37/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA logging improvements.Alan Conway2012-01-194-16/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix memory management error in QueueReplicator.cppAlan Conway2012-01-193-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-191-2/+1
| | | | | | | | function pair. Done for the new HA work, but this is better practice in any case. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Code cleanup to make ReplicatingSubscription more readable.Alan Conway2012-01-191-29/+23
| | | | | | Clarified deliver() and dequeued() logic and locking. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix initialization race in QueueReplicator.Alan Conway2012-01-192-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-2@1233674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Lifecycle and locking fixes for QueueReplicatorAlan Conway2012-01-193-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-2@1233673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Format static log prefixes at consutruction time.Alan Conway2012-01-194-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-2@1233672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Independent isDelayedCompletion for ↵Alan Conway2012-01-192-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-2@1233671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Delete HA resources (QueueReplicator) along with the queues.Alan Conway2012-01-194-14/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-2@1233670 13f79535-47bb-0310-9956-ffa450edef68