summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Removed some unused Broker codeAndrew Stitcher2012-12-202-22/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424761 13f79535-47bb-0310-9956-ffa450edef68
* Bug 886656 - HA backup broker does not properly increment the alternate ↵Alan Conway2012-12-206-23/+40
| | | | | | | | exchange user count Set alternate exchange in-use counters correctly on backup brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424617 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop linking boost filesystem library in Posix port as it isn't ↵Andrew Stitcher2012-12-202-5/+2
| | | | | | | | used anymore (yay!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424608 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop using boost::filesystem for something that std::fstream can do ↵Andrew Stitcher2012-12-201-11/+8
| | | | | | well enough git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726: ASF licensed, Qpid hosted store moduleCharles E. Rolke2012-12-2076-358/+360
| | | | | | | | | | | | | Incorporating post-commit review comments: * Rename *.hpp to *.h; repair include references and comments * Promote include guards to be unambiguous filename-related tokens * #include uses double quote not angle brackets when refering to files in qpid source code tree git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store moduleCharles E. Rolke2012-12-2036-0/+0
| | | | | | | Project standard: rename files from .hpp to .h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: still more in pluginCharles E. Rolke2012-12-201-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424520 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Repair include guards that are absent or fail to encompass everything.Charles E. Rolke2012-12-203-8/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4095: Move the directory iteration into FileSysDir:Andrew Stitcher2012-12-209-32/+75
| | | | | | | - For Posix implement with direct calls - For windows implement with v2/v3 boost::filesystem to be replaced later git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Repair typo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-1983-278/+6
| | | | | | | | Remove corporate copyright notices. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4516: Sporadic failure in ha_tests test_failover_send_receiveAlan Conway2012-12-198-32/+31
| | | | | | | | | | | | | | | | Sporadic failures in ha_tests.py test_failover_send_receive. Two types of failure observed: - core dumps in a debug build at a C++ assertion - python test assertion like: AssertionError: Broker<137:cluster0-0.log qpidd-157 :35273> expected='ready', actual='catchup' The following fixes were made to correct the problem: - Missing break statement in switch. - Remove unused function HaBroker::resetMembership - Abort connection of timed-out backups so they can attempt to reconnect. - New primary resets membership before allowing backups to connect. - Remove incorrect demotion ready->catchup on timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Disable building the legacystore component until it has further hardening. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed storeCharles E. Rolke2012-12-191-0/+68
| | | | | | | | Add new file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: still more testsAlan Conway2012-12-1914-2126/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: more testsAlan Conway2012-12-1914-1411/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: cleanup testsAlan Conway2012-12-1926-4520/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: obsolete valgrind suppressions.Alan Conway2012-12-191-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: ManagementAgentAlan Conway2012-12-192-35/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStorePluginAlan Conway2012-12-195-70/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Connection::isAuthenticatedAlan Conway2012-12-194-19/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStoreAlan Conway2012-12-195-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Queue, Semanticstate, SessionHandlerAlan Conway2012-12-197-32/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: get rid of StatefulQueueObserver.Alan Conway2012-12-196-172/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: QueueFlowLimitAlan Conway2012-12-192-77/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageGroupManager, MessagesAlan Conway2012-12-192-21/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: LinkRegistryAlan Conway2012-12-192-15/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxWorkRecordAlan Conway2012-12-192-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxManager, more Broker, ↵Alan Conway2012-12-199-67/+2
| | | | | | Connection, Link. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Broker, Connection, Link.Alan Conway2012-12-1911-114/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: AclConnectionCounterAlan Conway2012-12-191-61/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code, clusterOrderProxyAlan Conway2012-12-195-40/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: getClusterTimer.Alan Conway2012-12-193-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: ManagementAgent, Timer, docAlan Conway2012-12-198-40/+2
| | | | | | WIP: rip out old cluster code, misc. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, QPID hosted storeCharles E. Rolke2012-12-1987-1/+18321
| | | | | | | | | | This checkin lands the store mission code. Tests to follow. Review at https://reviews.apache.org/r/8556 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424091 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add explicit type for large constantsKenneth Anthony Giusti2012-12-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424072 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix core dump if ha plugin is loaded but ha-cluster=noAlan Conway2012-12-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4458: remove unused subdirs and files from gentools then move the ↵Robert Gemmell2012-12-181-67/+0
| | | | | | | | | | | remainder src to java/common/gentools. - Integrate into the java common module build process - Retrieve the Velocity dependencies using Ivy. - Remove unused java/common/protocol-version.xml and cpp/src/generate.sh files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423705 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed old cluster only fileAndrew Stitcher2012-12-181-117/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4506: Qpid HA's '--ha-public-url' option duplicates the ↵Alan Conway2012-12-146-27/+59
| | | | | | | | | | | | | | '--known-hosts-url' option but cannot be disabled Reverts the previous commit and simplifies the semantics of setting --ha-public-url and --ha-brokers-url. There is no longer any over-riding or implicit updating of values. That means you must set --ha-public-url as well as --ha-brokers-url, it will not be defaulted. Likewise if you *dont* set ha-public-url, it will remain empty, which is the use case in this bug. The defaulting was adding complexity without adding much value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1421934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4481: HA replication of propagated bindings can lead to incorrect ↵Alan Conway2012-12-1114-23/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration When using dynamic federation between two independent HA broker clusters, it is possible under certain failover scenarios for the propagated bindings on the source broker to become out-of-sync with the true state of bindings on the destination broker. How reproducible: Often -- race condition between re-establishment of federated link and the deletion of a binding on the destination broker Steps to Reproduce: 1. Start a stand-alone broker (route destination) and an HA broker (route source w/ primary and backup) 2. Configure a dynamic federated route between a destination broker and a source broker. The dynamic federation needs to utilize an existing, non-auto-delete queue on the source broker. 3. Subscribe to an auto-delete queue on the destination broker and bind the auto-delete queue to the exchange configured for the dynamic federation 4. Kill the primary source broker 5. Kill the subscription to the auto-delete queue on the destination broker 6. Promote the backup source broker to primary Actual results: With the loss of the client subscription to the auto-delete queue, the binding will be removed. If the binding is removed prior to the re-establishment of the federated link to the source broker, the unbind command will not propagate. Since the backup source broker had previously replicated the propagated binding, the binding will incorrectly remain on the source broker. Expected results: Propagated bindings should not be replicated from the primary to backups since they are transient and will be recreated when the route is re-established.))) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4499: Installs qpid.i, qmfengine.i and qmf2.i into include directory.Darryl L. Pierce2012-12-111-1/+5
| | | | | | | The three files are needed by the language bindings and so should be delivered as a part of the installation of Qpid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420320 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove empty files from treeGordon Sim2012-12-116-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4498: HA module should only initialize if requested Alan Conway2012-12-103-6/+14
| | | | | | | | | | This commit provides better control over loading the HA module. In particular it is not loaded if no ha options are set. This will prevent clashes with the old cluster plugin in configurations where the HA module is not explicitly used. HA documentation has been updated to state that HA and old cluster cannot be used together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419850 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix race condition in brokertest.py test harness.Alan Conway2012-12-071-1/+3
| | | | | | | Fixed a race conndition that was causing false failures of the form "expected an error". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: further refinement to the change to link against the .la files, ↵Gordon Sim2012-12-062-12/+13
| | | | | | rather than use the unqualified lib names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4490 clean up after commit r1417511 for windows buildsCharles E. Rolke2012-12-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4490: Durable mesages with TTL do not expire after broker recovery (c++ ↵Kim van der Riet2012-12-053-0/+8
| | | | | | store) - fix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 Repair some windows settings damaged during this jira.Charles E. Rolke2012-12-032-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Added missing update to xml.mkTed Ross2012-12-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416604 13f79535-47bb-0310-9956-ffa450edef68