summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4006: Java Broker HA documentation fixes.Keith Wall2012-06-071-80/+92
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Update Java Broker HA documentation, add disaster recovery ↵Keith Wall2012-06-072-1/+42
| | | | | | | | guidences, emphasis usage of domain names in cluster configuration, add description for missed 'CoalescingSync' MBean attribute. Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4040 - Close federation links after lost heartbeats.Ted Ross2012-06-065-3/+61
| | | | | | | Applied patch from Andy Goldstein. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4043 - Remove usage of deprecated definitions from Corosync.Ted Ross2012-06-063-32/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4042 : [Java Broker] Add SSL Client Auth supportRobert Godfrey2012-06-0637-391/+832
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4041: move check for transport after setting value.Kenneth Anthony Giusti2012-06-051-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3971: minor cleanup to remove unused variable and stop logging null ↵Robert Gemmell2012-06-041-4/+1
| | | | | | when no provider URL is set as this case is later logged explicitly and more clearly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346171 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4039: move some implementation-detail log statements on the ↵Robert Gemmell2012-06-042-3/+6
| | | | | | 0-8/0-9/0-9-1 path from info to debug to reduce verbosity and/or user confusion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4038: log the Connection number and its local and remote addresses ↵Robert Gemmell2012-06-044-3/+30
| | | | | | after each [re]connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: Fix test failure under JDK 1.7 when AuthenticationManagers would ↵Keith Wall2012-06-0310-385/+567
| | | | | | | | | | not always be properly closed ApplicationRegistry refactored: Resposibilities for lifecycle of AuthenticationManager objects transfered to AuthicationManagerRegistry (better separation of concerns). Implemented new pure unit test to expose the failing test and then changed algorithm so that AuthenticationManagers are closed on all paths. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: [Java Broker] Docbook documentation for BDB HA (first version)Keith Wall2012-06-0216-1/+957
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Introduce coalescing sync configuration, rename replication ↵Keith Wall2012-06-026-80/+80
| | | | | | | | policy configuration into durability, restore designated primary configuration and remove auto-designated primary functionality Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4032 Broker ACL does not accept sub-groups in group declarationCharles E. Rolke2012-06-012-4/+52
| | | | | | | | | | | | Patch from Paul Colby and new self test demonstrating the fix. Note that this patch broke the user_realm self test. That is, a naked name like 'bob' has changed from being a username missing a domain to being a group name. The self test used to fail and still fails but now for a different reason. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345190 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4031: fix deadlock by moving timer cancel outside of scoped lock.Kenneth Anthony Giusti2012-05-311-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4033: remove 'Channel' from the name as it is somewhat redundantRobert Gemmell2012-05-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4033: update the Dispatcher thread name to include a connection id to ↵Robert Gemmell2012-05-312-6/+19
| | | | | | ease identifying work for individual sessions on different connections during log analysis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344632 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Fix signed/unsigned warnings on RHEL 5 w/ Boost 1.33.1Stephen D. Huston2012-05-301-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4029: update the systest configuration to be self-contained, separating ↵Robert Gemmell2012-05-3012-10/+221
| | | | | | the tests config from the example config files to allow modifiying them in isolation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4009, QPID-4017: exclude new 0-8/0-9/0-9-1 and/or Java broker specific ↵Robert Gemmell2012-05-292-0/+12
| | | | | | tests from the CPP test profile to resolve the CI failures git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4029: add ability to selectively include a protocol version on a given ↵Robert Gemmell2012-05-2939-62/+540
| | | | | | port, overriding an exclusion on the same port or it being disabled on all ports. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix deadlock in ReplicatingSubscription causing primary to hang ↵Alan Conway2012-05-291-9/+27
| | | | | | sporadically git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343762 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Removed isSelf check in Backup, was returning false positives.Alan Conway2012-05-291-0/+3
| | | | | | To be restored once the problem is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986, QPID-4009, QPID-4017: add constants for system ↵Robert Gemmell2012-05-295-53/+47
| | | | | | | | properties/defaults. Update default values for flow control timeouts to be consistent between 0-8/9/9-1 and 0-10 client paths (60sec). Increase the 'failover method timeout' for 0-8/9/9-1 client path to 120sec. Update documentation accordingly. Work by Philip Harvey <phil@philharveyonline.com> and myself, based on review feedback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : modified docbook to describe producer-side flow control. Content ↵Robert Gemmell2012-05-293-9/+255
| | | | | | | | moved from https://cwiki.apache.org/qpid/use-producer-flow-control.html Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4017: reset the session flow control blocked status during failover.Robert Gemmell2012-05-293-0/+96
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4009: Make failover method invocation timeout configurable for ↵Robert Gemmell2012-05-294-1/+105
| | | | | | | | 0-8/0-9/0-9-1 amqp clients Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-2910-71/+558
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343675 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add timerTask->cancel to ~AsynchIOHandler.Alan Conway2012-05-281-0/+2
| | | | | | | Observed crashes where timer fires after AsynchIOHandler is deleted. This should prevent such crashes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Better log messages for HA code.Alan Conway2012-05-2810-68/+97
| | | | | | Identify host name of backup in ReplicatingSubscription logs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Failover optimization restored.Alan Conway2012-05-284-94/+207
| | | | | | | | | A backup broker that fails over to a new primary can avoid downloading messages that it already has from the previous primary. The backup sends its position to the primary as a client-arg and the primary sends back any necessary dequeues and starts replicating after the messages on the backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA brokers avoid self-connection.Alan Conway2012-05-283-7/+14
| | | | | | | | HA brokers attempt to avoid self-connection using SystemInfo::isLocalHost(). If a VIP is used then this check won't work. Brokers now check the system-id UUID on incoming connections and reject the connection if it is their own. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Close replication link when a backup broker is promoted to primary.Alan Conway2012-05-282-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Allow Queue::setPosition() to truncate the queue.Alan Conway2012-05-2813-92/+311
| | | | | | | | | | | | In the new HA code a backup may sometimes be ahead of the new primary after a fail-over. In that case the backup truncates it's queues to the same position as the primary so it can continue replicating. (Note the assertions added to verify setPosition showed up a minor bug in the old cluster code, which was leaving messages on the cluster update queue after an update. This patch fixes the issue.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4023: restore connection URL setter, add check that URL details have ↵Robert Gemmell2012-05-283-7/+52
| | | | | | been set before calling connect(), add unit+sys test to verify operation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: AuthenticationManagers not cleaned up on error pathKeith Wall2012-05-262-12/+5
| | | | | | | We have been seeing ApplicationRegistryShutdownTest fail regularly on JDK1.7 on Jenkins CI for the last week. This is caused by the ApplicationRegistry failing to clean up on the error path where many AuthenticationManagers are configured but one is not designated as default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Java Performance Test Framework.Keith Wall2012-05-261-5/+18
| | | | | | Fix test highlighed by JDK1.7 build on Apache CI - test approach incompatible with the Junit lifecycle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: Java Performance Test Framework - better PSFC supportKeith Wall2012-05-2610-52/+461
| | | | | | | | Change ProducerParticipant to cancel the sending test messages after maximumDuration is reached. This is required for deterministic behaviour when using the Producer Side Flow Control feature of the Java Broker, otherwise the send() can hang indefinitely after consumers have shutdown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342843 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3992 - Removed the Boost license text from the Ruby LICENSE file.Ted Ross2012-05-251-29/+0
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3995 - Cleans up queues created during Cucumber feature tests Ted Ross2012-05-256-12/+29
| | | | | | | Applied patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342786 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate dead code and potential null pointer dereference as found ↵Kenneth Anthony Giusti2012-05-251-23/+19
| | | | | | by Coverity git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342759 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix some defects found by Coverity static analysis scan of C++ codeKenneth Anthony Giusti2012-05-2511-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: [Java Broker] BDB HA.Keith Wall2012-05-2514-75/+237
| | | | | | | | | | | | Close BDB environment in the event of unexpected exceptions during commit/begin tran. Install BDB exception listener to log exception arising from its own threads. Default BDB parameters for sensible defaults for standard Qpid use-cases. Ensure that closeInternal always closes the environment. Added MBean operation descriptions. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4012: update the priority queue entry sub lists to maintain a record of ↵Robert Gemmell2012-05-251-4/+13
| | | | | | the priority index they represent, refer to this when comparing queue entries in order to avoid using the metadata later than is possible git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: add additional test case for link sharing.Kenneth Anthony Giusti2012-05-241-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Remove BDB StateChangeListener during Environment#close() to ↵Keith Wall2012-05-241-73/+108
| | | | | | avoid processing an unnecessary DETACHED event (which was causing a stack trace). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342169 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange memory status codeAndrew Stitcher2012-05-243-5/+15
| | | | | | Currently only Linux has a useful implementation and everyone else uses a null implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange CMake a bit to improve the chances of compiling on ↵Andrew Stitcher2012-05-241-9/+12
| | | | | | non-Linux Unix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342136 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove final vestiges of non-portable alloca().Andrew Stitcher2012-05-243-11/+9
| | | | | | Fixed unit_test changes to avoid incorrect array initialisation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Keep the code compatible with clang C++ compiler (and probably ↵Andrew Stitcher2012-05-225-21/+17
| | | | | | | | | | | gcc 4.7 too) Fix up intrusive_ptr_add_ref(RefCounted*)/intrusive_ptr_release(RefCounted*) so they are now found by argument dependent lookup. Trivial: Added missing newline at end of file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: BDB HA. Make passivation async to avoid holding up the BDB ↵Keith Wall2012-05-227-173/+175
| | | | | | | | | | thread. Introduce VirtualHost ERROR state to be used when virtual host is unable to activate or passivate itself completely. Change MULTISYNC mode to use WRITE_NO_SYNC. Stop relying on Monitor nodes to perform some tests. Work of Robbie Gemmell <robbie@apache.org> and myself. squashme git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341584 13f79535-47bb-0310-9956-ffa450edef68