summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a potential RDMA connect failure raceAndrew Stitcher2010-01-211-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1879 Don't use a thread for every new client ConnectionAndrew Stitcher2010-01-217-220/+196
| | | | | | | | | | | - By default the max number of threads now used for network io is the number of cpus available. - This can be overridden with the QPID_MAX_IOTHREADS environment variable or the config file - The client threads are initialised (via a singleton) when first used in a Connection::open() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901550 13f79535-47bb-0310-9956-ffa450edef68
* Small refactor of AsynchConnector to have a more regular structureAndrew Stitcher2010-01-211-9/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901548 13f79535-47bb-0310-9956-ffa450edef68
* Split out AsynchConnecter::start from constructor (like other AsynchIO classes)Andrew Stitcher2010-01-215-24/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901547 13f79535-47bb-0310-9956-ffa450edef68
* Made the getSSF() member functions of Connectors private as they can't be ↵Andrew Stitcher2010-01-213-3/+3
| | | | | | | | used from outside the connector anyway except via the virtual in the parent class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901546 13f79535-47bb-0310-9956-ffa450edef68
* Log detailed error if unexpected socket write error (don't throw anymore)Andrew Stitcher2010-01-211-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901545 13f79535-47bb-0310-9956-ffa450edef68
* Fixed "Cluster-safe assertions" not to break the build (CMake)Andrew Stitcher2010-01-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901544 13f79535-47bb-0310-9956-ffa450edef68
* Cluster-safe assertions.Alan Conway2010-01-207-4/+147
| | | | | | | | | Assert that replicated data structures are modified in a cluster-safe context - in cluster delivery thread or during update. Assertions added to Queue.cpp and SemanticState.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901282 13f79535-47bb-0310-9956-ffa450edef68
* Provide access to a sessions connection.Gordon Sim2010-01-204-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added support for testing transactions to qpid-send and qpid-recv, ↵Gordon Sim2010-01-203-27/+62
| | | | | | fixed bug in rollback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901153 13f79535-47bb-0310-9956-ffa450edef68
* Apply QPID_CLIENT_EXTERN where needed; should have been in with r900592. ↵Stephen D. Huston2010-01-191-8/+9
| | | | | | Fixes QPID-2344. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900880 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead code - cluster::Connection::left()Alan Conway2010-01-192-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900860 13f79535-47bb-0310-9956-ffa450edef68
* Fix intermittent test error: cluster_test.cpp(1108): error in "testRelease": ↵Alan Conway2010-01-191-0/+1
| | | | | | | | | | | | | | | | check browse(c3, "q", 5) == expected failed [ != m_1 m_2 m_3 m_4 m_5 ] This was a test issue, not a broker issue. What seems to have been happening: - start broker b0 & send messages. - fork broker b1 - line 1103 (lqSub.release(...)); executes against b0 _before_ b1 connects for update lqSub.release(lqSub.getUnaccepted()); - line 1108 browse() executes during the update. - update takes > 0.5 secs for some reason, browse times out. The fix is a synchronous flush in browse() which will wait for the broker to be responsive before trying to get the messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2335: Set the timeout used when waiting for a message to be 1 second ↵Gordon Sim2010-01-191-1/+1
| | | | | | which I assume was the original intention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900697 13f79535-47bb-0310-9956-ffa450edef68
* Correct new uuid methods for Windows, add QPID_CLIENT_EXTERN where needed.Stephen D. Huston2010-01-182-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900592 13f79535-47bb-0310-9956-ffa450edef68
* Deleting vestigial header file.Jonathan Robie2010-01-181-37/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900506 13f79535-47bb-0310-9956-ffa450edef68
* Commiting John Dunning's revisions to the XML client session test.Jonathan Robie2010-01-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900488 13f79535-47bb-0310-9956-ffa450edef68
* Applied John Dunning's patch from ↵Jonathan Robie2010-01-182-4/+8
| | | | | | | | | | https://issues.apache.org/jira/browse/QPID-2335. Allows management tools to report the query for a binding. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900475 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2295: Clustered + persistent broker crashes with inconsistency error.Alan Conway2010-01-184-30/+1
| | | | | | | | | | Code running in the store's timer thread was causing inconsistent changes in message allocation. This code is out-of-date, we no longer need to notify the Queue when persistent storage completes as the message is already available on the queue. Removed the out-dated code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900448 13f79535-47bb-0310-9956-ffa450edef68
* Alter type of array index variableGordon Sim2010-01-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-1516-19/+363
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead code: OutputTask::hasOutput and Queue::checkForMessages.Alan Conway2010-01-1411-56/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899356 13f79535-47bb-0310-9956-ffa450edef68
* Added raise_event support to the Ruby and Python wrapped agent APIs.Ted Ross2010-01-1316-21/+509
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898727 13f79535-47bb-0310-9956-ffa450edef68
* Explicitly name qpid::framing::Buffer instead of framing::Buffer; resolves ↵Stephen D. Huston2010-01-121-5/+5
| | | | | | compile errors on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some of the missing standard message headers. Added two new ↵Gordon Sim2010-01-1210-8/+504
| | | | | | test utilities for sending and receiving with the new API (both still works in progress). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898296 13f79535-47bb-0310-9956-ffa450edef68
* This further improves the fix made at rev 19819 in Qpid trunk for QPID-2175Rajith Muditha Attapattu2010-01-112-4/+6
| | | | | | | The check is now done without creating any new strings to avoid extra allocations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898021 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2297Rajith Muditha Attapattu2010-01-112-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898016 13f79535-47bb-0310-9956-ffa450edef68
* Fix broker crash "confirmed N but only sent M" with managed agents running.Alan Conway2010-01-118-23/+127
| | | | | | | | | | | | | | The broker's ManagementAgent caches schemas from managed agents. This cache was not being replicated to new cluster members. If an agent such as sesame was running and connected to a newly-joined broker, that broker could send schema request messages which were not sent by other brokers that had the schema in cache. This resulted in the other brokers exiting with a "confirmed N but only sent M" message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897955 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2327 - Enhance qpid-config to deal with xml and headers brokersTed Ross2010-01-073-3/+148
| | | | | | | Committed patch from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897007 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem in automake build introduced by r896959.Alan Conway2010-01-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896973 13f79535-47bb-0310-9956-ffa450edef68
* Add cluster watchdog plugin to cmake build.Alan Conway2010-01-074-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896959 13f79535-47bb-0310-9956-ffa450edef68
* StoreStatus tests clean up temporary directory properly.Alan Conway2010-01-071-10/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896918 13f79535-47bb-0310-9956-ffa450edef68
* fix & test QPID-2320Carl C. Trieloff2010-01-062-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896687 13f79535-47bb-0310-9956-ffa450edef68
* Make cluster::StoreStatus::load/save no-ops if broker has no data-dir.Alan Conway2010-01-061-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896662 13f79535-47bb-0310-9956-ffa450edef68
* Fix uninitialized read error in cluster::StoreStatus.Alan Conway2010-01-061-7/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896617 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in cluster_tests.pyAlan Conway2010-01-061-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896542 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Make cluster update work out of the box without special ↵Alan Conway2010-01-062-4/+4
| | | | | | | | | authentication options." This reverts revision 885870 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896541 13f79535-47bb-0310-9956-ffa450edef68
* Minor cluster test fixes.Alan Conway2010-01-062-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896540 13f79535-47bb-0310-9956-ffa450edef68
* Added config-seq counter to track config changes since cluster init.Alan Conway2010-01-0612-59/+137
| | | | | | | | Config-seq is recorded persitently to help identify best store when recovering from total failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896538 13f79535-47bb-0310-9956-ffa450edef68
* Exception handling for URL parsing in cluster.Alan Conway2010-01-062-8/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896537 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold up broker initialization for cluster initialization.Alan Conway2010-01-064-51/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896536 13f79535-47bb-0310-9956-ffa450edef68
* Install useful tests.Alan Conway2010-01-061-20/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896535 13f79535-47bb-0310-9956-ffa450edef68
* BodyHolder.cpp, .h removed. 0 bytes and no references to either one. ↵Stephen D. Huston2010-01-052-0/+0
| | | | | | Resolves QPID-2213. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896256 13f79535-47bb-0310-9956-ffa450edef68
* Add qpidxarm.dll to the installer; resolves QPID-2284.Stephen D. Huston2010-01-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896250 13f79535-47bb-0310-9956-ffa450edef68
* React properly to generated headers being in the source dir as opposed to ↵Stephen D. Huston2010-01-051-1/+10
| | | | | | build dir; resolves QPID-2298. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896249 13f79535-47bb-0310-9956-ffa450edef68
* Add qpid/cpp/packaging/NSIS files to dist; resolves QPID-2300Stephen D. Huston2010-01-052-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896246 13f79535-47bb-0310-9956-ffa450edef68
* Add vcproj files for messaging/drain and messaging/spout; resolves QPID-2299Stephen D. Huston2010-01-054-181/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896242 13f79535-47bb-0310-9956-ffa450edef68
* Remove old vcproj files not in use any longer; resolves QPID-2301Stephen D. Huston2010-01-051-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896238 13f79535-47bb-0310-9956-ffa450edef68
* Add header.html and footer.html to dist files; resolves QPID-2302Stephen D. Huston2010-01-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896236 13f79535-47bb-0310-9956-ffa450edef68
* Added handling of MAP values for the wrapped QMF interfaces.Ted Ross2010-01-0511-204/+477
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896191 13f79535-47bb-0310-9956-ffa450edef68