summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* fixed the cpp/python test integrationRafael H. Schloming2009-08-119-207/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803270 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneeded Makefile from configure.acTed Ross2009-08-111-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803162 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles in the QMF bindings area.Ted Ross2009-08-1110-13/+293
| | | | | | | | Added tests for the QMF bindings. Removed spurious "cout" prints from qmf/Agent.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803156 13f79535-47bb-0310-9956-ffa450edef68
* Add new test script to distribution list.Gordon Sim2009-08-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803041 13f79535-47bb-0310-9956-ffa450edef68
* Reinstate reliable_replication_testAndrew Stitcher2009-08-111-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802993 13f79535-47bb-0310-9956-ffa450edef68
* Add tests to check for correct Poller DISCONNECT behaviourAndrew Stitcher2009-08-111-24/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802992 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that a PollerHandle that has had a disconnected event can neverAndrew Stitcher2009-08-111-1/+4
| | | | | | | be returned with any more events git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802991 13f79535-47bb-0310-9956-ffa450edef68
* Fix for re-entering DispatchHandle::processEvent more than once on disconnectionAndrew Stitcher2009-08-112-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802990 13f79535-47bb-0310-9956-ffa450edef68
* Watchdog feature to remove unresponsive cluster nodes.Alan Conway2009-08-106-33/+235
| | | | | | | | | | | | | | | | | In some intstances (e.g. while resolving an error) it's possible for a hung process to hang the entire cluster as they wait for its response. The cluster can handle terminated processes but hung processes present a problem. If the watchdog plugin is loaded and --watchdog-interval is set then the broker forks a child process that runs a very simple watchdog program, and starts a timer in the broker process to signal the watchdog every interval/2 seconds. The watchdog kills its parent if it does not receive a signal for interval seconds. This allows a stuck broker to be removed from the cluster so other cluster members can continue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802927 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused filesAndrew Stitcher2009-08-079-308/+1
| | | | | | | Removed unused functions from Timer Switched TimerTest to sys::Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802160 13f79535-47bb-0310-9956-ffa450edef68
* Reverted r801903, it should not be needed after r801860 and r801861.Gordon Sim2009-08-071-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801948 13f79535-47bb-0310-9956-ffa450edef68
* Gsim's temporary fix for replication bug.Michael Goulish2009-08-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801903 13f79535-47bb-0310-9956-ffa450edef68
* Fixed LinkRegistry destructor to only cancel TimerTask if there is one!Andrew Stitcher2009-08-071-1/+3
| | | | | | | (the only time there might not be one is in the store tests) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801871 13f79535-47bb-0310-9956-ffa450edef68
* Change QueueCleaner so that it cancels any outstanding TimerTask on destructionAndrew Stitcher2009-08-073-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801861 13f79535-47bb-0310-9956-ffa450edef68
* Change LinkRegistry to cancel its TimerTask in its destructorAndrew Stitcher2009-08-072-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801860 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Stop timer thread before users are deleted (as they don't all clean ↵Andrew Stitcher2009-08-071-4/+0
| | | | | | | | | up prior to being destroyed)" This reverts commit cfbbe6093b1353f3896249d227cf1458d95abbc7. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801859 13f79535-47bb-0310-9956-ffa450edef68
* Further improve the delay/overrun Timer warnings when both occur at onceAndrew Stitcher2009-08-071-6/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801858 13f79535-47bb-0310-9956-ffa450edef68
* When setting up the next fire time for a Timer make sure it can't be in the ↵Andrew Stitcher2009-08-071-1/+2
| | | | | | past. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801857 13f79535-47bb-0310-9956-ffa450edef68
* Stop timer thread before users are deleted (as they don't all clean up prior ↵Gordon Sim2009-08-061-0/+4
| | | | | | to being destroyed) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801802 13f79535-47bb-0310-9956-ffa450edef68
* Fix cman integration to exit immediately on loss of quorum.Alan Conway2009-08-0612-36/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801740 13f79535-47bb-0310-9956-ffa450edef68
* generalized one suppression.Michael Goulish2009-08-051-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801404 13f79535-47bb-0310-9956-ffa450edef68
* Added many suppressions for stacks leading to apparent leaks in dl_open().Michael Goulish2009-08-051-0/+643
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801379 13f79535-47bb-0310-9956-ffa450edef68
* Clarify that the build dir need not be a subdir of cpp/src; also, note the ↵Stephen D. Huston2009-08-051-3/+7
| | | | | | need for the \qpidd dir git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801324 13f79535-47bb-0310-9956-ffa450edef68
* Try to create piddir if needed; on error throw a useful message. Fixes QPID-2030Stephen D. Huston2009-08-052-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801315 13f79535-47bb-0310-9956-ffa450edef68
* Improved Timer delay/overrun warningsAndrew Stitcher2009-08-051-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801290 13f79535-47bb-0310-9956-ffa450edef68
* Rename of MessageStore::discardInit() to MessageStore::truncateInint(), ↵Kim van der Riet2009-08-056-7/+7
| | | | | | resulting from a cleanup of the code logic in the store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801239 13f79535-47bb-0310-9956-ffa450edef68
* Explicit Msg::op<< overrides for integral types, fixes a store compile problem.Alan Conway2009-08-041-4/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800931 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for cluster code to compile with new stricter corosync header filesAndrew Stitcher2009-08-044-16/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800921 13f79535-47bb-0310-9956-ffa450edef68
* Return value to silence compiler warningsStephen D. Huston2009-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800583 13f79535-47bb-0310-9956-ffa450edef68
* Add needed 'extern' for building on WindowsStephen D. Huston2009-08-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800581 13f79535-47bb-0310-9956-ffa450edef68
* Fixed missing #include linesAndrew Stitcher2009-08-032-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800555 13f79535-47bb-0310-9956-ffa450edef68
* Updated the include path to use the new cpp/includes directory.Ted Ross2009-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800487 13f79535-47bb-0310-9956-ffa450edef68
* Moved qpid/management/Manageable.cpp and ↵Ted Ross2009-08-031-5/+5
| | | | | | | | | qpid/management/ManagementObject.cpp from the broker library to the common library. These may be used for client-side QMF applications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800485 13f79535-47bb-0310-9956-ffa450edef68
* qrsh initial checkin.Michael Goulish2009-08-0317-0/+2325
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800481 13f79535-47bb-0310-9956-ffa450edef68
* Fix build warnings/errors on WindowsStephen D. Huston2009-07-312-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799720 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in cluster error handling.Alan Conway2009-07-3111-58/+102
| | | | | | | | | If different errors occured almost simultaneously on two different nodes in a cluster, there was a race condition that could cause the cluster to hang. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799687 13f79535-47bb-0310-9956-ffa450edef68
* Make AMQFrame::getMethod() safe on frames with no body.Alan Conway2009-07-311-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799686 13f79535-47bb-0310-9956-ffa450edef68
* handle fail setting last-node-standing with unit test, still needs system testCarl C. Trieloff2009-07-312-12/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799658 13f79535-47bb-0310-9956-ffa450edef68
* Removed file src/tests/allSegmentTypes.h, which is generated.Kim van der Riet2009-07-311-128/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799642 13f79535-47bb-0310-9956-ffa450edef68
* Make previous test more robust, add some commentsCarl C. Trieloff2009-07-311-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799614 13f79535-47bb-0310-9956-ffa450edef68
* Candidate fix for race condition in testCarl C. Trieloff2009-07-311-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799609 13f79535-47bb-0310-9956-ffa450edef68
* Some clean up, and better error checkCarl C. Trieloff2009-07-311-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799598 13f79535-47bb-0310-9956-ffa450edef68
* Make replication of queue events not dependant on abs queue position, but ↵Carl C. Trieloff2009-07-306-10/+78
| | | | | | rather use source queue sequence numbers. Also add in more error checking and tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799435 13f79535-47bb-0310-9956-ffa450edef68
* Set protocol versions correctly in cluster code.Alan Conway2009-07-305-12/+29
| | | | | | | | | Cluster code was broken by a recent checkin to validate protocol versions. The cluster was not correctly setting the version on both sides of a connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-652 -- fixed by Marco BisioliCarl C. Trieloff2009-07-301-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799348 13f79535-47bb-0310-9956-ffa450edef68
* Change remaining broker Timer clients to use the single broker TimerAndrew Stitcher2009-07-305-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799274 13f79535-47bb-0310-9956-ffa450edef68
* Change all broker users of broker::Timer to use sys::TimerAndrew Stitcher2009-07-3016-91/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799273 13f79535-47bb-0310-9956-ffa450edef68
* Added diagnostics to tell if timer callbacks overrun their allowed timeAndrew Stitcher2009-07-301-3/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799272 13f79535-47bb-0310-9956-ffa450edef68
* Fix sys::Timer code to push into priority list using the correct timeAndrew Stitcher2009-07-301-1/+1
| | | | | | - fixes bug where timers get acted on out of sequence git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799271 13f79535-47bb-0310-9956-ffa450edef68
* Provide more informative cluster logging at notice levelAlan Conway2009-07-295-28/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799124 13f79535-47bb-0310-9956-ffa450edef68