summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Add missing EXTERN declarations needed by HA module.Alan Conway2012-06-281-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: work around ancient versions of Ant lacking 'erroronmissingdir' ↵Robert Gemmell2012-06-282-8/+20
| | | | | | | | | in the metainf element of the jar task by using copying to compose the files for addition to META-INF. Also prevents general files in the modules resources dir that arent intended for inclusion in META-INF from being included there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-28296-7811/+21553
| | | | | | jmx/rest/webui functionality, partial merge from the java-config-and-management branch at r1355039 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355072 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Get rid of noisy errors from rejected connections.Alan Conway2012-06-282-6/+4
| | | | | | | | | A HA backup broker used to reject client connections by throwing out of ConnectionObserver:opened. This is not an error, but generates a lot of noise in the form of error log messages. This patch calls Connection::abort() instead of throwing, which does not leave any error log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: close initial connections after use rather than allowing them to ↵Robert Gemmell2012-06-281-8/+7
| | | | | | fail over after we no longer need them, which causes them to sporadically expose QPID-4086 during teardown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4091 : [Java Broker] correct handling of dtx set timeoutRobert Godfrey2012-06-272-24/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4091 : [Java Broker] correct handling of dtx set timeoutRobert Godfrey2012-06-273-21/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354728 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ha_tests.py raise exception for errors in qpid-haAlan Conway2012-06-272-14/+28
| | | | | | | Refactored qpid-ha to raise exceptions if invoked via main_except and return non-0 with an error message if invoked as a script via main git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354717 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make qmf/BrokerImportExport.h header publicAlan Conway2012-06-273-2/+3
| | | | | | | | | QMF code generator templates include this header so it is required to build QMF generated code against the -devel packages. Review: https://reviews.apache.org/r/5593/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354712 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ensure test cleans up when done to prevent interference with ↵Gordon Sim2012-06-271-1/+1
| | | | | | anything else git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3902 force [Test] log category into test instanceCharles E. Rolke2012-06-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354040 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix build error on windows, introduced in r1352992Alan Conway2012-06-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354012 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increase test timeoutGordon Sim2012-06-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353921 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4075: Exclude qmf_events from java/python testsKeith Wall2012-06-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: restore connectdelay to previous value and increase retriesRobert Gemmell2012-06-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353594 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Trivial code cleanup, removing outdated FIXME comments.Alan Conway2012-06-228-69/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353017 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Simplify locking and remove member-update callback in HA code.Alan Conway2012-06-227-55/+60
| | | | | | | | Get rid of the separate Membership lock and put HaBroker in control of membership changes. Removes a potential deadlock which could explain some observed failures in long-running failover tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353001 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Cleanup in HA code.Alan Conway2012-06-225-67/+41
| | | | | | | | - Better printed representation for queue ranges. - Removed dead code in ha module related to activated/deactivated backups. - Improved log messages in ha/BrokerReplicator.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4078: Fix primary self-connections in long running test.Alan Conway2012-06-229-43/+46
| | | | | | | | | | | | Assert to detect self-connection were triggered in log runs of ha_tests.py test_failover_send_receive. Fix: - HaBroker close backup link before removing broker-info for outgoing link. - HaBroker removes own address from failover addresses. - Link.cpp: Skip ioThreadProcessing and maintenanceVisit on a link that is closed. - Minor improvements to log messages and comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352999 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3849: Client connection breaks broker-to-broker cluster SASL ↵Alan Conway2012-06-2210-24/+53
| | | | | | | | | | | | authentication Catch-up shadow connections were not being authenticated which caused two problems: - new brokers failed to join the cluster if there was an authenticated session. - possible security loophole that would allow an intruder to gain access to a catch-up broker. All external connections are now fully authenticated, which solves both problems. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352992 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4075: Added missing test file from last commitGordon Sim2012-06-221-0/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4075: Raise delete event for autodeleted queues alsoGordon Sim2012-06-228-12/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4081: [Java Tests] Applied patch supplied by Alex RudyyRobert Godfrey2012-06-224-2/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352838 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA 0.18 release - add an EXTRA_DIST file required for windows buildsCharles E. Rolke2012-06-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4082: cluster de-sync after broker restart & queue replicationAlan Conway2012-06-215-3/+8
| | | | | | | | | | | | | | | | | | | | | | Having queue state replication between 2 clusters, restarting a broker in both source+destination clusters sometimes leads to cluster de-sync. No QMF communication is involved, though symptoms are similar to the bug caused by missing propagation of QMF errors within a cluster. The bug is caused by "deliveryCount" in SemanticState::ConsumerImpl (qpid/broker/SemanticState.cpp) not being replicated to a joining cluster node during catch-up. When the elder broker in src.cluster sends session.sync() after sending 5 messages (per --ack 5 in qpid-route), the recently joiner node in src.cluster does not do so, what leads to the cluster de-sync. The patch: - adds to "consumer-state" method (see xml/cluster.xml file change) to update a new joi-ner a new property deliveryCount - updates cluster::Connection::consumerState to send deliveryCount to the method - updates cluster::Connection::consumerState to set the received deliveryCount - add two methods to broker::SemanticState::ConsumerImpl for getting and setting deliveryCount git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4080: [Java Broker] HA - Increase client connectdelay to allow test to ↵Keith Wall2012-06-211-1/+1
| | | | | | be successful on slowe boxes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch 0015 from Anthony Foglia; better exception translationGordon Sim2012-06-201-44/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4076: Patch from Andy Goldstein, don't use infinite credit on bridges ↵Gordon Sim2012-06-201-3/+3
| | | | | | with explicit acknolwedgements git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3902 log category - force log statement to be in test category and to ↵Charles E. Rolke2012-06-191-1/+1
| | | | | | display [Test] with no external processing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4063: remove spurious whitespace introduced in last commit.Kenneth Anthony Giusti2012-06-182-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4063: allow configuration of source queue for exchange or dynamic routesKenneth Anthony Giusti2012-06-184-12/+187
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351518 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Updates to HA documentation.Alan Conway2012-06-181-57/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4072: HA use backup messages in failover.Alan Conway2012-06-188-114/+152
| | | | | | | ReplicatingSubscription syncs the primary and backup queues, and does not re-send messages that are already on the backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351481 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove non-existing file windows/MemStat.cpp from ha.mk.Alan Conway2012-06-181-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix & clean up in HA code.Alan Conway2012-06-186-35/+58
| | | | | | | | | | - Fix fencepost error in getFirstSafe() - QueueGuard::attach completes messages before the ReplicatingSubscription postion - Fix minor test issues in brokertest.py and ha_test.py. - ReplicatingSubscription check for ready in acknowledge not dispatch. - HA test fix: retry wait_status retry on ConnectErrors, broker may not be up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor cleanup and test improvements in HA code.Alan Conway2012-06-1812-41/+55
| | | | | | | | | | - Enabled 10 queue failover test - Minor cleanup in types.h - Rewording, adding comments. - Detect and reject invalid replication values. - Cleaned up some unnecessary #includes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351434 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove non-existing file HeldQueue from ha.mk.Alan Conway2012-06-181-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4030: Check send rate actually achieved and report if it fails to match ↵Gordon Sim2012-06-181-4/+14
| | | | | | the desired rate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351386 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4060 - Fixed error in the help text.Ted Ross2012-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351367 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added missing EXTERN declaration on broker::Link::getRemoteAddressAlan Conway2012-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4071: basic porting changes for solaris native compilerClifford Allan Jansen2012-06-1710-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4022 C++ Broker connection limits corrections for cluster.Charles E. Rolke2012-06-152-33/+64
| | | | | | | Never throw in event of shadow connection going over any limit and issue error messages describing cluster decisions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4070 - Minor internal-api changes for LinkRegistry and Bridge (in ↵Ted Ross2012-06-154-8/+15
| | | | | | qpid::broker) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350746 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4066 - Allow configuration to override the broker's federation tagTed Ross2012-06-154-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350732 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4069: ↵Keith Wall2012-06-152-9/+11
| | | | | | | | | DistributedClientTest.testClientFailsToCreateProducerUsingInvalidSession occasionally seen to fail on CI Test is seen to fail on slower CI boxes running persistent profiles. From the logs, it can be seen that the issue is timing. Extending receive timeout and sync'ing after the message ought to resolve the problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4052: [Java Broker] Increase the number of retries that the client will ↵Keith Wall2012-06-151-1/+1
| | | | | | use when trying to reconnect to the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: ChartingUtil now generates chart-summary.html file to facilitate ↵Keith Wall2012-06-157-5/+259
| | | | | | | | chart png browsing from CI server. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: Add support for 3D bar/line charts; XY line charts, chart ↵Keith Wall2012-06-1523-100/+777
| | | | | | subtitles, and add Main-Class/Class-Path manifest entries to visualisation JAR to allow for convienient use from command line. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4050: reduced verbosity of logging. Also removed unnecessary imports ↵Keith Wall2012-06-1515-18/+19
| | | | | | | | and casts in various perftests files. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350623 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4049: Linux C++ broker crashes when client connects SSL with expired ↵Andrew Stitcher2012-06-141-0/+2
| | | | | | certificate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350406 13f79535-47bb-0310-9956-ffa450edef68