summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Add List class to handle encoding of AMQP 0-10 list type.Gordon Sim2009-08-203-7/+126
| | | | | | | | Fill out accessors for different FieldValue types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2058: Add a flag to the version of SessionImpl::send() that takes a ↵Gordon Sim2009-08-193-4/+12
| | | | | | FrameSet as content. This flag indicates whether the frames in that frame set are valid for sending over the connection or whether they should be reframed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805904 13f79535-47bb-0310-9956-ffa450edef68
* Removed TSS variables that tracked I/O counts; not used. Part of fix for ↵Stephen D. Huston2009-08-141-17/+0
| | | | | | QPID-1868 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804394 13f79535-47bb-0310-9956-ffa450edef68
* Initialize the update interval to a reasonable valueTed Ross2009-08-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804386 13f79535-47bb-0310-9956-ffa450edef68
* Added documentation to watchdog plugin.Alan Conway2009-08-142-0/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804263 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Batch multiple events into a single CPG multicast."Alan Conway2009-08-144-28/+17
| | | | | | | This reverts svn revision 803713: Batch multiple events into a single CPG multicast. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1971 - bind in fedOpReorigen mode is not threadsafe for TopicExchangeTed Ross2009-08-132-10/+35
| | | | | | | | Applied patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@803802 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/qpid@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/qpid@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/qpid@803655 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/qpid@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/qpid@803449 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/qpid@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/qpid@802990 13f79535-47bb-0310-9956-ffa450edef68
* Watchdog feature to remove unresponsive cluster nodes.Alan Conway2009-08-102-0/+174
| | | | | | | | | | | | | | | | | 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/qpid@802927 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused filesAndrew Stitcher2009-08-076-300/+0
| | | | | | | Removed unused functions from Timer Switched TimerTest to sys::Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@801740 13f79535-47bb-0310-9956-ffa450edef68
* Try to create piddir if needed; on error throw a useful message. Fixes QPID-2030Stephen D. Huston2009-08-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@800921 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/qpid@800581 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/qpid@799720 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in cluster error handling.Alan Conway2009-07-318-52/+75
| | | | | | | | | 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/qpid@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/qpid@799686 13f79535-47bb-0310-9956-ffa450edef68
* handle fail setting last-node-standing with unit test, still needs system testCarl C. Trieloff2009-07-311-10/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799658 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/qpid@799598 13f79535-47bb-0310-9956-ffa450edef68
* Make replication of queue events not dependant on abs queue position, but ↵Carl C. Trieloff2009-07-305-9/+30
| | | | | | 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@799124 13f79535-47bb-0310-9956-ffa450edef68
* Oops: eliminated a ternary operator giving the "else" instead of the "then".Andrew Stitcher2009-07-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798386 13f79535-47bb-0310-9956-ffa450edef68
* Add a default constructor to LinkRegistry so that you don't needAndrew Stitcher2009-07-282-2/+16
| | | | | | a broker to create one for the store tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798383 13f79535-47bb-0310-9956-ffa450edef68
* Add missing mgnt counters for replication exchangeCarl C. Trieloff2009-07-252-3/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797698 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Remove uninformative per-message info level log message."Alan Conway2009-07-241-0/+3
| | | | | | This reverts r797184. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797432 13f79535-47bb-0310-9956-ffa450edef68