summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3603: Revert incorrect tests in ↵qpid-3603-7Alan Conway2012-02-171-4/+2
| | | | | | qpid.tests.messaging.endpoints.ReceiverTests.testMode git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix problems with Links in a cluster.Alan Conway2012-02-174-7/+16
| | | | | | Some Link operations were incorrectly being carried out in passive mode. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Increase timeouts in brokertest.py, were causing spurious failures.Alan Conway2012-02-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix faulty tests in cluster_tests.py.Alan Conway2012-02-171-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Only ReplicatingSubscriptions can browse acquired messages.Alan Conway2012-02-175-3/+16
| | | | | | | Previously any subscription would browse acquired messages, which is unexpected behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245558 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix missing consumer in update.Alan Conway2012-02-172-3/+9
| | | | | | | | | If a consumer is cancelled while there are unacked messages the consumer will not be present in the session but it will be referenced in the DeliveryRecord. Null out the consumer in this case, it's not needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245557 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Removed incorrect asserts from Link.cppAlan Conway2012-02-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix update of acquired messages.Alan Conway2012-02-175-18/+54
| | | | | | | | The changes to keep acquired messages on the queue broke replication of acquired messages. Fix this to put acquired messages into the MessageDeque correctly. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245555 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3603: Disable federation cluster tests on qpid-3603 branch."Alan Conway2012-02-171-10/+7
| | | | | | This reverts commit f68ce76fcaadf52b93f58140173a1f48a371e007. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245554 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3603: disable old cluster tests"Alan Conway2012-02-171-19/+9
| | | | | | This reverts commit 4e6163d24a4520a288981865ca20d9e1dff6e9d1. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Make link maintenance interval configurable.Alan Conway2012-02-174-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-7@1245552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added failover test for HA brokers.Alan Conway2012-02-172-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-7@1245551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix core dump in Link::requestIOProcessing.Alan Conway2012-02-173-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-7@1245550 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Format the seconds part of high-resolution timestamps.Alan Conway2012-02-173-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-7@1245549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Additional debug logging for messaging client connections.Alan Conway2012-02-173-21/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA brokers set known-hosts to the HA broker-url.Alan Conway2012-02-175-31/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: c++ messaging API: allow floating point reconnect durations in ↵Alan Conway2012-02-176-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-7@1245546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Speed up qpid-ha-tool with fast QMF2 method calls.Alan Conway2012-02-174-26/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Simplified Link failover.Alan Conway2012-02-1711-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-7@1245544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker close backup link when promoted.Alan Conway2012-02-174-13/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Reconnect URL in broker::LinkAlan Conway2012-02-1710-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-7@1245542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set known hosts at connection open in Link.Alan Conway2012-02-174-11/+18
| | | | | | Formerly were being set during periodic maintenance. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Restore default --sequence=no to qpid-cpp-benchmark.Alan Conway2012-02-172-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-7@1245540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: minor updates to new-ha-design.txtAlan Conway2012-02-171-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor edits to new-ha-design.txtAlan Conway2012-02-171-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename qpid-ha-status to qpid-ha-tool, get/set client & broker URLsAlan Conway2012-02-176-100/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Updates to design doc to reflect current code & plans.Alan Conway2012-02-171-59/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Get rid of broker_url="primary" hack, promote primaries via ↵Alan Conway2012-02-1710-52/+68
| | | | | | management. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245535 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3603: Remove FIXME comment from python driver.py"Alan Conway2012-02-171-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-7@1245533 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA enforces management enabled.Alan Conway2012-02-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Update to HA design docs.Alan Conway2012-02-173-103/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Change replication level names, update doc notes.Alan Conway2012-02-174-48/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Remove FIXME comment from python driver.pyAlan Conway2012-02-171-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-7@1245529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test to verify C++ client failover is working.Alan Conway2012-02-175-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-7@1245528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Use client-properties to signal admin connections.Alan Conway2012-02-1714-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-7@1245527 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set connection.start client-properties argument from python.Alan Conway2012-02-175-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-7@1245526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Refactor LinkRegistry to use a ConnectionObserver.Alan Conway2012-02-176-22/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup rejects client connections.Alan Conway2012-02-1712-14/+231
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix replication of unbind events.Alan Conway2012-02-171-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-7@1245523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replicate unbind events.Alan Conway2012-02-173-14/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Do case-insensitive string comparison for replication levels.Alan Conway2012-02-171-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Rename WiringReplicator to BrokerReplicator.Alan Conway2012-02-176-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245520 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor FIXME cleanup.Alan Conway2012-02-172-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix QueueReplicator lifecycle, shared pointer cycle.Alan Conway2012-02-172-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Hide "queue deleted" errors detected for a ReplicatingSubscription.Alan Conway2012-02-175-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-7@1245516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Sync cmake with automakeAlan Conway2012-02-171-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Handle backup crash/shutdown.Alan Conway2012-02-1711-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-7@1245513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Check for gaps in sequence numbers in qpid-receive.Alan Conway2012-02-171-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Logging improvements for bridges, links and HA classes.Alan Conway2012-02-175-37/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA logging improvements.Alan Conway2012-02-174-16/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3603-7@1245508 13f79535-47bb-0310-9956-ffa450edef68