summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-4107 r1361334 typo in file nameCharles E. Rolke2012-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3892 C++ broker add routing key wildcard support to Acl 'publish ↵Charles E. Rolke2012-07-157-58/+215
| | | | | | | | | | | | | exchange' lookups. Although this patch does not address the original issue's regex request it provides the desired functionality in a more comprehensive manner. * Acl publish exchange rules may specify routing keys using the topic exchange syntax with '*' and '#' wildcard match tokens. * Acl lookups hook in to the broker's topic exchange key match code to perform the wildcard match. * Acl rules written using the old Acl wildcard syntax (with a single trailing '*') will continue to work the same as before. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4138: HA sporadic failure in ha_testsAlan Conway2012-07-135-2/+8
| | | | | | | | | This was another test issue: trace logging had been left on by mistake, which was slowing down the tests to the point they were hitting test time-outs. Also in this patch: Include symbolic satus in membership update log message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361393 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4079 log categories for correlation. Design description.Charles E. Rolke2012-07-131-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361353 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4107 HA does not replicate alternate-exchangeAlan Conway2012-07-136-55/+244
| | | | | | | | Set alternate exchange on replicated queues and exchanges. If the exchange is available, set it immediately. Otherwise remember what needs to be set so it can be set when the exchange becomes available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4136: HA sporadic failures in ha_testsAlan Conway2012-07-132-2/+6
| | | | | | | Caused by a test bug, default timeout was too short. Fixed the test to set a high timeout and increased default timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361323 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4133: (Jason Dillaman) Non-responsive peer in federated link can result ↵Alan Conway2012-07-131-1/+3
| | | | | | | | in entire cluster shutdown Fix is to not start link processing until the connection is open. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4079 log entries track managed object life cyclesCharles E. Rolke2012-07-1312-14/+120
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS support for the REST management interfaceRobert Gemmell2012-07-1318-89/+234
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: broker release now includes BDB if optional=true sys property is setKeith Wall2012-07-121-1/+4
| | | | | | Applied patch from Phil Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4131: On 0-8...0-9-1 code path broker now closes the connection when ↵Keith Wall2012-07-123-21/+40
| | | | | | the housekeeping thread times out a transaction. AMQChannel now uses AMQProtocolEngine's _receivedLock so that this connection-closing is thread-safe. This gives better compatibility with older clients that do not hand session closes correctly. 0-10 behaviour unaffected by this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360651 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA doc: Add overview of avoiding message loss.Alan Conway2012-07-111-4/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360378 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed compile error on RHEL5: double doesn't convert to int64_tAlan Conway2012-07-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360282 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4128: Remove use of intrusive_ptr::reset, not available in older boost ↵Alan Conway2012-07-111-1/+1
| | | | | | versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4129 Cluster connection leak when auth failure. This patch closes local ↵Charles E. Rolke2012-07-111-0/+2
| | | | | | connection, releases broker::Connection, and fixes ConnectionCounter resource accounting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: System tests for Rest API, small fixups for the ↵Robert Gemmell2012-07-1134-23/+2304
| | | | | | | | adapters and web ui. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: get the user name from ↵Robert Gemmell2012-07-111-0/+4
| | | | | | | | HttpServletRequest#getRemoteUser() in SaslServlet Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360120 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add some logging around the DtxBranch timeout functionality to aid ↵Robert Gemmell2012-07-101-8/+72
| | | | | | debugging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359916 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4128: HA should not use amq.failover for replication linksAlan Conway2012-07-102-2/+3
| | | | | | | | | | | HA replication links should not use the amq.failover exchange to get updates reconnect targets. amq.failover provides the client failover list, HA manages a separate failover list for brokers. Replication links should be using the broker list, and not allow it to be overwritten by amq.failover updates. Review requested for 0.18, 2 line fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4126: HA primary times out expected backups.Alan Conway2012-07-107-33/+112
| | | | | | | | | | | | After a failure, the newly-promoted primary broker guards messages for each of the backups that were connected at the time of the failure. It waits for them to reconnect to the new primary before becoming active. This patch introduces a time-out so that if an expected backup fails to fail-over within the time limit, the primary will cancel the guards for that backup and carry on. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359872 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4127: Ensure SystemInfo::isLocalHost() returns true for ::1Gordon Sim2012-07-101-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4125 : [Java Broker] allow coalescing of commits for multiple channels ↵Robert Godfrey2012-07-104-29/+185
| | | | | | on same connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4121: AMQProtocolEngine now uses lock to prevent the thread-unsafe use ↵Keith Wall2012-07-103-15/+31
| | | | | | | | of AMQChannel's transaction which caused it to throw a ConcurrentModificationException. Applied patch from Philip Harvey <phil@philharveyonline.com> and Keith Wall <kwall@apache.org>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: added missing commons-logging dependency to perftests module for ↵Keith Wall2012-07-101-1/+1
| | | | | | | | us by release-bin target Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4118: HA does not work with authentication and authorization.Alan Conway2012-07-098-36/+179
| | | | | | | | | - Updated test framework to use credentials - Updated BrokerReplicator to use HA identity to create configuration - Updated documentation with a HA security section. - Updated qpid-ha to take --sasl-mechanism git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: Move trunk version numbers to 0.19Justin Ross2012-07-0916-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3757: clean up demux when subscription manager is destroyedGordon Sim2012-07-092-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: update release.sh to account for new java broker release artifactsRobert Gemmell2012-07-081-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358764 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923, QPID-3998: split out the IDs used for QMF (which have a different ↵Robert Gemmell2012-07-0838-168/+217
| | | | | | format) from those for the new config model, make it clearer which is being used where git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358759 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923, QPID-3998: update the Adapter layer to either use UUIDGenerator ↵Robert Gemmell2012-07-0816-87/+203
| | | | | | itself, or use the ID directly from the entity being adapted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358758 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: rename new pluginsRobert Gemmell2012-07-08106-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: no longer caching duration override because it broke inter-test ↵Robert Gemmell2012-07-061-9/+9
| | | | | | | | | isolation. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4117: honour alternate-exchange option specified within x-declare for a ↵Gordon Sim2012-07-062-2/+24
| | | | | | link git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: added support for a system property to override all participant ↵Robert Gemmell2012-07-062-1/+81
| | | | | | | | durations. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: add a release-bin target to perftests so we can create a ↵Robert Gemmell2012-07-062-1/+10
| | | | | | | | deployable tar.gz file. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-07-066-17/+66
| | | | | | | Add subject to outgoing messsage before encoding it to save a round trip decode-encode. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-07-061-81/+224
| | | | | | Encode Variants directly without translating to FieldTables git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358274 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Changed VariantImpl to use a union more sensibly and avoid ugly and ↵Andrew Stitcher2012-07-061-39/+33
| | | | | | | | potentially buggy reinterpret_casts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358273 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix previous TimerTask fix to workaround stupid windows.h symbol ↵Andrew Stitcher2012-07-062-3/+3
| | | | | | corruption git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358265 13f79535-47bb-0310-9956-ffa450edef68