summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4176: HA Error handlingAlan Conway2012-07-314-5/+12
| | | | | | | | | Fix error handling so that backup brokers shut down on replication errors. Previously replication errors were being thrown to the primary, breaking the replication session. This would put the primary into an endless futile reconnect attempt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4124: Improved logging that is produced when the various transaction ↵Robert Gemmell2012-07-315-33/+193
| | | | | | | | timeouts are exceeded. Remove duplication of messages and reorder logging/closing. Work by myself, Keith Wall, Phil Harvey. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4147: made selector handle interrupt based on patch from siddeshRafael H. Schloming2012-07-302-6/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3575 Changed the name of the system prop toRajith Muditha Attapattu2012-07-301-9/+12
| | | | | | | "qpid.session.legacy_exception_behaviour". The system prop will now restore the old behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367241 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4175: HA code rationalize loggingAlan Conway2012-07-306-17/+34
| | | | | | | | | | | Clean up and rationalize log messages and levels. notice: Major broker-level events: connecting, failing-over, primary active, backup ready. info: Major queue level events: subscriptions ready, replicators created etc. debug: Detailed replication events: accept/reject conections, details of queue replication protocol. trace: dumping raw QMF messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Patch to extend MaxDeliveryCountTest to check for this bugKeith Wall2012-07-302-53/+23
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4170: prevent JMX threads from spinning in the Queue MBean if the ↵Robert Gemmell2012-07-302-8/+84
| | | | | | content retrieval fails, log an error if it does. Add unit tests to expose issue and verify fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: only keep a hard reference to the meta data if it has yet to be ↵Robert Gemmell2012-07-272-2/+8
| | | | | | persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: modify perf test framework's queue management to allow non-Qpid ↵Keith Wall2012-07-274-10/+73
| | | | | | | | implementations to be used. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4159: HA missing messages in failover test.Alan Conway2012-07-267-34/+40
| | | | | | | | | | | | Fix test_failover_send_receive showing missing messages. With this fix, ran with -DDURATION=2 overnight with no failures. - Primary, RemoteBackup: Only report "ready" once per remote backup. - HaBroker: Put membership updates under mutex. - ReplicatingSubscription: Check for backup missing messages at the front. - ha_tests.py: Added assertion to test_priority_ring, verify primary queue as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3175 - Added SSL/x.509-auth capability to Python clients and Python toolsTed Ross2012-07-2617-117/+300
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Keith Wall2012-07-254-55/+138
| | | | | | move/copyMessage management functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1365832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4165: Fix unsused variable warnings when compiling with -DNDEBUGAlan Conway2012-07-243-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1365234 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4141: Add Java Broker docbook documentation for lvq and sorted queues. ↵Keith Wall2012-07-243-141/+277
| | | | | | | | Rework priority queue documentation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364954 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix typos, update comments, update log messages.Alan Conway2012-07-238-15/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364806 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4163: Deadlock between LinkRegistry and TimerTask locksAlan Conway2012-07-232-10/+12
| | | | | | | | Previously TimerTask::cancel was being called with locks held in this stack trace, causing a deadlock. Moved call to cancel outside of the lock. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4159: HA Missing messages in failover test.Alan Conway2012-07-233-10/+27
| | | | | | | | | | | | QueueGuard was taking its snapshot of the initial queue range *before* it registered its QueueObserver. That means it was possible to have unguarded messages between the end of the snapshot and the first position protected by the guard. Fixed race condition in QueueRange constructor: Must call getPosition() *after* getFront() since both may be advancing and we want to end up with a valid range front <= back+1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364804 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix spurious diff when comparing cluster log files.Michael Goulish2012-07-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364648 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA documentation update.Alan Conway2012-07-232-60/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364645 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add exclude for file use with the Java Broker when running the ↵Keith Wall2012-07-221-0/+34
| | | | | | Python 0-8 and 0-9 testsuites. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1364433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4155 - Make sure decode only occurs with string values.Ted Ross2012-07-201-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4160: remove the old JMX Management ConsoleRobert Gemmell2012-07-20197-22618/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4155 - Added utf-8 decode of strings in the CLI display utilityTed Ross2012-07-201-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: exclude qpid-client and its third party libs from the perftests ↵Keith Wall2012-07-202-3/+15
| | | | | | | | release. This makes it easier to run the perftests using an old client version. Also made logging more sensible. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4158: HA transition to CATCHUP status too early.Alan Conway2012-07-191-16/+4
| | | | | | | | | Previously we set status to CATCHUP when the BrokerReplicators bridge was initialized. This is too early, it's possible for an aborted attempt to connect to another backup to get as far as bridge init. This patch waits till we receive the first actual message from the primary before updating status to CATCHUP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363520 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4156: HA close window for clients to connect before HA broker is ↵Alan Conway2012-07-193-10/+31
| | | | | | | | | | | | | initialized A HA backup broker in a cluster rejects client connections. This was previously done in a ConnectionObserver registered during Plugin::initialize. However that left a window before the observer was registered when clients could connect. This showed up as a sporadic failure of the failover test. This patch moves the creation of the observer to Plugin::earlyInitialize, which is guaranteed to be called before the broker starts listening for clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS test for REST interfacesRobert Gemmell2012-07-193-4/+103
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363413 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4152 : Refactor coverage targets in Java build system.Keith Wall2012-07-193-81/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4153: Exclude SelectorTest#testRuntimeSelectorError from Java test profilesKeith Wall2012-07-191-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4151: Add validation for reserved exchange names into addExchange ↵Robert Gemmell2012-07-191-1/+2
| | | | | | | | dialog in web management UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363307 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4149: Add REST functionality to delete exchanges, queues and bindings, ↵Robert Gemmell2012-07-1918-59/+450
| | | | | | | | add queue/exchange/binding delete operations into web UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4150: Display the name of queue type key(sortKey,priorities,lvqKey) and ↵Robert Gemmell2012-07-192-2/+27
| | | | | | | | its value Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363297 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed use of boost::bind which was causing build failure on windows.Alan Conway2012-07-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363088 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Minor logging improvements.Alan Conway2012-07-182-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: include baseline data in charts.Keith Wall2012-07-1824-86/+146
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4148: HA Not setting initial queues for new RemoteBackups Alan Conway2012-07-183-14/+21
| | | | | | | | Fix bug introduced by r1362584: "QPID-4144 HA broker deadlocks on broker::QueueRegistry lock and ha::Primary lock" Stopped setting initial queues on new (i.e. not expected) RemoteBackups. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: Refactor test approach to avoid comparing JSON strings.Keith Wall2012-07-183-135/+45
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4145: HA Minor fixes to recovery Alan Conway2012-07-177-27/+44
| | | | | | | | | - Demote timed-out backups from ready to catch-up. - Don't cancel connected backups on timeout, only disconnected ones. - Don't allow promotion of a catch-up broker. - Minor logging improvement. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362658 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added missing EXTERN statements causing build breakage.Alan Conway2012-07-171-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4144 HA broker deadlocks on broker::QueueRegistry lock and ha::Primary lockAlan Conway2012-07-175-52/+44
| | | | | | | | | | | | Running tests repeatedly, the broker deadlocked with the attached stack trace. The problem call sequences are: 1. QueueRegistry::destroy takes QueuerRegistry lock > ConfigurationObserver::queueDestroy > ha::Primary::queueDestroy takes Primary lock. 2. ConnectionObserver::opened cals Primary::opened lock> RemoteBackup>getQueues().eachQueue This patch breaks the deadlock at both ends: QueueRegistry no longer holds the lock across the observer call and Primary does not hold the lock across eachQueue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: now getting test file paths as URIs instead of URLs so that they ↵Keith Wall2012-07-172-3/+3
| | | | | | | | still work when the path contains spaces. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362536 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: error in programming guideGordon Sim2012-07-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: [Java Performance Tests] modified test so that its success is no ↵Keith Wall2012-07-175-17/+163
| | | | | | | | longer dependent on the order of the attributes in json2.js's JSON strings (this order varies between JDK 1.6 and 1.7, which caused a Jenkins test failure). Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: tweaked topic test config to introduce a start delay on message ↵Keith Wall2012-07-1712-20/+38
| | | | | | | | | | production, allowing the consumers enough time to implicitly create the queues (unfortunately the Qpid client can't explicitly create topics). Also improved error reporting and increased time outs to better cope with large scale tests. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3575Rajith Muditha Attapattu2012-07-162-3/+4
| | | | | | | | The added a system prop to revert to the previous behavior if need be. Modified the SelectorTest#testRuntimeSelectorError test case to suit the new behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3575 SessionExceptions (0-10 code path) are now marked as softRajith Muditha Attapattu2012-07-163-12/+48
| | | | | | | | | errors. When a Session receives an exception it is closed and the exception is notified via the ConnectionListener as well. However the exception is marked as a soft-error, therefore the connection will not be closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362161 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Minor documentation updates.Alan Conway2012-07-161-9/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362134 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix typo in make files.Alan Conway2012-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3892 add missing fileCharles E. Rolke2012-07-161-0/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4107 r1361334 type in file nameCharles E. Rolke2012-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361733 13f79535-47bb-0310-9956-ffa450edef68