summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4034: XASessionImpl should override resubscribe() for correct XAWeston M. Price2012-06-111-5/+10
| | | | | | | | failover behavior *Implemented resubscribe() in XASessionImpl *Minor cleanup, fixed typos etc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 add new file to CMakeListsCharles E. Rolke2012-06-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4022 C++ Broker connection limits by host ip and by user name.Charles E. Rolke2012-06-1116-177/+267
| | | | | | | | | | | Rework the strategy to deny connections based on configured limits. All limits checked in one function from points in broker when the user's authenticated name is known. Denied connections receive the AMQP exception instead of getting the socket closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348707 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4014: increase debug logging in ConflationQueueListRobert Gemmell2012-06-101-2/+16
| | | | | | | Applied patch from Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: [Java Broker] Allow assignment of AuthenticationManager on a ↵Keith Wall2012-06-107-14/+91
| | | | | | | | per-port basis Address review comments from Rob Godfrey. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348603 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove references to Message Store Tool from Java Broker docbook.Keith Wall2012-06-103-158/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4048 - Rafactor of TopicExchange to isolate the binding-key data structure.Ted Ross2012-06-085-473/+408
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348233 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4047 : [Java] Add timeout to socket connectRobert Godfrey2012-06-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix race condition causing sporadic crash in ↵Alan Conway2012-06-084-5/+17
| | | | | | | | | BrokerReplicator::initializeBridge The BrokerReplicator was being deleted before all outstanding initializeBridge calls had been processed by the IO thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add ConfigurationObserver.Alan Conway2012-06-0810-29/+230
| | | | | | | Allows plugins to observe configuration events queue create/destroy, exchange create/destroy and bind/unbind. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA primary sends membership updates to backup brokers.Alan Conway2012-06-0815-62/+353
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4046: rate limit the release of dequeued messages.Kenneth Anthony Giusti2012-06-081-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348090 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4045: remove the unused 'extras' pluginRobert Gemmell2012-06-078-769/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: Decrease 'je.rep.logFlushTaskInterval' interval to 1 minute in ↵Keith Wall2012-06-071-0/+5
| | | | | | | | order to minimize data losses on Node with NO_SYNC durability Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347564 13f79535-47bb-0310-9956-ffa450edef68
* 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