summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1971 - bind in fedOpReorigen mode is not threadsafe for TopicExchangeTed Ross2009-08-133-10/+159
| | | | | | | | Applied patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803996 13f79535-47bb-0310-9956-ffa450edef68
* Check for null pointer in ~QueueCleaner.Alan Conway2009-08-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2048: Handle connection fail while attempting to close.Gordon Sim2009-08-133-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803802 13f79535-47bb-0310-9956-ffa450edef68
* Add missing file to distribution listGordon Sim2009-08-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803796 13f79535-47bb-0310-9956-ffa450edef68
* Batch multiple events into a single CPG multicast.Alan Conway2009-08-124-17/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803713 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious code in AMQFrame::~AMQFrame.Alan Conway2009-08-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803656 13f79535-47bb-0310-9956-ffa450edef68
* Optimized handling of accepts and completions.Alan Conway2009-08-125-25/+95
| | | | | | | | | | SemanticState::accept/completed now make a single pass through the SequenceSet of commands and the unacked DeliveryRecord list in parallel, rather than doing a pass through unacked for every range in the SequenceSet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803655 13f79535-47bb-0310-9956-ffa450edef68
* Moved python cluster tests to new python test runnerKim van der Riet2009-08-123-28/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803599 13f79535-47bb-0310-9956-ffa450edef68
* Minor whitespace adjustment.Gordon Sim2009-08-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2046: * perform destroy() on the links own io thread, not on that of ↵Gordon Sim2009-08-122-10/+22
| | | | | | | | | | the management connection issuingthe request * move ACL check such that it only applies to the management operation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803449 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-117-180/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803270 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles in the QMF bindings area.Ted Ross2009-08-111-2/+0
| | | | | | | | 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
* 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
* 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
* 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-3110-56/+100
| | | | | | | | | 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