summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3147: Misconfigured tracing/logging can lead to hung threads in logging ↵Alan Conway2011-03-213-5/+62
| | | | | | | | | | | stack The hang was caused by re-entrant attempts to initialize the Logger singleton when an exception was thrown during logger configuration. The fix is to disable exception logging temporarily while the logger is constructed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1083884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3155: Install module libraries during install-exec phaseAlan Conway2011-03-186-22/+22
| | | | | | | | The C++ automake system has 2 install phases, exec and data. Module libraries are installed incorrectly in the data phase. Fix the makefiles to install them in the exec phase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1083077 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix qpidd late/overran warnings.Alan Conway2011-03-182-9/+13
| | | | | | | Warnings for late-and-overrun tasks were not being correctly reported. Lateness for overrun tasks below the late threshold were not being reported. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3153Michael Goulish2011-03-184-4/+8
| | | | | | | added check for ais_exec running -- or don't run these clustered tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3152Michael Goulish2011-03-181-6/+7
| | | | | | | The non-clustered versions of the sasl_fed_ex tests should probably not attempt to load cluster.so. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3150Michael Goulish2011-03-171-1/+1
| | | | | | | | This is a test-only fix. Tell the client explicitly to use DIGEST-MD5, rather than possibly defaulting to a mech that the test has not prepared for. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082685 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Put a timeout on calls to Thread.join to avoid tests hanging ↵Alan Conway2011-03-171-3/+7
| | | | | | indefinitely. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082668 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Refactor RefCountedBuffer to be simpler and more flexible.Alan Conway2011-03-156-81/+98
| | | | | | | | | | RefCountedBuffer::pointer is replaced by a separate class BufferRef. BufferRef is independent of RefCountedBuffer, it can be used to manage other reference-counted buffer classes e.g. to implement buffer pools. BufferRef also provides beginning and end of the buffer, not just beginning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3144: Remove "loaded module" info log message.Alan Conway2011-03-141-2/+1
| | | | | | | | | | | | | These messages, printed at plugin load time, interfere with qpidd --check. It is supposed to print the PID of a running qpidd daemon to stdout, for use in scripts and the like. However with log-to-stdout enabled these messages obscure the PID. They are in any case of little value, individual plugins can log their start-up messages on initialization time which does not cause a problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3138 some cosmetic cleanup & correction for IVECarl C. Trieloff2011-03-142-24/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081450 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Minor improvements to test scripts qpid-cluster-benchmark and ↵Alan Conway2011-03-144-40/+76
| | | | | | | | | qpid-cpp-benchmark - qpid-cluster-benchmark: added command line options. - qpid-cpp-benchmark: clean up error handling, fixed a race condition. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081396 13f79535-47bb-0310-9956-ffa450edef68
* Removed faulty test, test_dr_no_message was failing sporadically.Alan Conway2011-03-121-19/+0
| | | | | | | test_dr_no_message was using unreliable sleeps to try to determine expiry of messages. There's no obvious way to implement the test correctly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-03-112-128/+83
| | | | | | | - simplified brokertest.py using subprocess.Popen file redirection instead of threads. - fixed the hang in test_failover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080786 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3136: Add option to disable defaults for queue threshold alertsGordon Sim2011-03-115-12/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3138 Topic exchange perf improvementCarl C. Trieloff2011-03-112-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3132: Prevent threshold events triggering directly further threshold eventsGordon Sim2011-03-094-3/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079854 13f79535-47bb-0310-9956-ffa450edef68
* Add new cluster-based sasl_fed_ex tests to EXTRA-DISTMichael Goulish2011-03-091-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079808 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3073: fix to allow older versions of boost to compile.Kenneth Anthony Giusti2011-03-082-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1672Michael Goulish2011-03-086-6/+118
| | | | | | | clustered versions of the 4 federated sasl external tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3073: refactor to eliminate locks, malloc, and map insert/remove in ↵Kenneth Anthony Giusti2011-03-087-190/+169
| | | | | | receive path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079385 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add quote mark incorrectly removed by previous updateRobert Gemmell2011-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3121: Fix linking on windowsGordon Sim2011-03-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3121: Cluster management inconsistency when using persistent store.Alan Conway2011-03-077-61/+92
| | | | | | | | | | | | | | | | | | | | With the store doing async completions, completion IO callbacks could be queued differently on different nodes. This led to inconsistent management changes in a cluster when a connection was modified in an IO callback. Fix was to mark IO callback processing as not cluster safe, so connections don't record management stats during an IO callback. Test changes: - enable durable tests in test_management. - add substitutions to mask known issue of inconsistent "stats changed" messages. - add transactional client to test_management. - ignore heartbeat connection close logs in cluster_test_logs.py - make brokertest.retry more accurate - fix minor bug in brokertest.log_ready. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078947 13f79535-47bb-0310-9956-ffa450edef68
* QPID_3122 - Added backward-compatible map keys in QMFv2 consoles for earlier ↵Ted Ross2011-03-071-1/+17
| | | | | | development agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078895 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2216: bump up log levelGordon Sim2011-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3120: Consult alternate exchange on reroute if neededGordon Sim2011-03-071-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1672Michael Goulish2011-03-071-50/+128
| | | | | | | | | | | The core script sasl_fed_ex ( used by sasl_fed_ex_* ) is modified to encapsulate broker creation, and handle clustering -- toggled by a new argument. This is an intermediate checkin. There are not yet any scripts that actually invoke the new clustering capability. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078745 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3115: Recognise sasl_mechanisms (plural) and support a space separate ↵Gordon Sim2011-03-072-17/+35
| | | | | | list as does the python client (continue to recognise sasl-mechanism as well for backword compatibility) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078733 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-071-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3117Michael Goulish2011-03-041-1/+1
| | | | | | | | Fix misleading --help info on --sasl-config flag. Its argument is not a file, it's a directory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3115: Recognise '_' as alternative to '-'. Throw Exception for ↵Gordon Sim2011-03-041-70/+54
| | | | | | unrecognised options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2461: Applied patch from Neil WilsonGordon Sim2011-03-048-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077902 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Fix a degenerate test case where the message count is smallCharles E. Rolke2011-03-031-1/+6
| | | | | | | | | and the host system timing base yields and elapsed time of zero. The change is to throw a meaningful error message rather than throwing an obscure DIV0 error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - UpdatesTed Ross2011-03-033-2/+20
| | | | | | | | | - Additional header comments - Added pendingEvents method to ConsoleSession and AgentSession - Ensure that nextEvent will not block if timeout is IMMEDIATE (ConsoleSession and AgentSession). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3107: If queue's alternate-exchange can't route message, try that ↵Gordon Sim2011-03-034-3/+13
| | | | | | exchange's alternate-exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3105: Alternate-Exchange configuration not communicated between nodes ↵Alan Conway2011-03-022-1/+32
| | | | | | in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3081: add statistic for queue flow control transitionsKenneth Anthony Giusti2011-03-022-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3102: Only send ttl if non-zeroGordon Sim2011-03-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Added aliases for arguments that are more uniform with others in ↵Gordon Sim2011-03-022-26/+56
| | | | | | c++ broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3100: reduce number of initial buffers created per connectionGordon Sim2011-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076205 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove misleading log messages in cluster/UpdateDataExchange.cppAlan Conway2011-03-012-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3096Michael Goulish2011-03-0117-2334/+0
| | | | | | | removing qrsh -- was never used. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2630: ensure that exclusive, auto-deleted queues are freed up on early ↵Gordon Sim2011-03-013-13/+4
| | | | | | deletion (remove some confusion between connection and session scope for these) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075777 13f79535-47bb-0310-9956-ffa450edef68
* fixing non-executable script checkin...Michael Goulish2011-02-284-0/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075471 13f79535-47bb-0310-9956-ffa450edef68
* fixing non-executable checkin...Michael Goulish2011-02-284-108/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: Fix linking on windows (unit test now uses create() rather than ↵Gordon Sim2011-02-281-1/+1
| | | | | | configure()) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075465 13f79535-47bb-0310-9956-ffa450edef68
* What was a single test -- sasl_fed_ex -- is nowMichael Goulish2011-02-287-51/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4 tests with a common core. They are: sasl_fed_ex_dynamic sasl_fed_ex_link sasl_fed_ex_queue sasl_fed_ex_route ( and the common core is sasl_fed_ex ) These tests correspond to the 4 different ways that the qpid-route command has of making links, or links+routes. All those pathways have to be modified so that the new "mechanism" argument information can be passed down and used -- so that you can specify a SASL mechnism to be used on the interbroker link that you create. ( So -- the qpid-route command also had to be modified to propagate the mechanism info with all 4 subcommands. ) Since the SASL mechanism is owned by the link, these tests check that the link comes up and becomes operational. Finally, I modified the sasl-mechanism flag in qpid-route to call it "client-sasl-mechanism" to better distinguish between the SASL mechanism used in the created route -- and the SASL mechanism (if any) that is used when the qpid-route client itself connects to the broker that it is talking to. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075452 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove some dead code, rename internal method for clarityGordon Sim2011-02-285-13/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3089: make getTypeName() a public methodGordon Sim2011-02-281-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: Fixes to store interaction changesGordon Sim2011-02-286-25/+48
| | | | | | | | | * don't create queue on recovery * ensure laternate exchange is set before creating store record for queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075331 13f79535-47bb-0310-9956-ffa450edef68