| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test was hanging because of a python construct not available in 2.4. It was
causing an exception in a strange place because this bit of code was imported at
runtime, and that was hanging the test. Fixed and did some cleanup
to avoid such mysterious hangs in future:
- Fixed qpidtoollibs/config.py to work with python 2.4.
- Import qpid-ha script at import time rather than runtime.
- Fix Popen.teardown logic to avoid hanging if a process can't be killed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591794 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
option.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590118 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
- Remove some dead code.
- Removed "set" command - not ready for production. All settings in qpidd.conf.
- Removed related tests in ha_tests
- Improved help on promote command.
- Made option group for common broker connection options.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589834 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added timeout to qpid-ha.
- qpidd init script pings broker to verify it is not hung.
- updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml.
The new results for the cases mentioned in the bug:
a] stopped ALL brokers: rgmanager restarts the entire cluster but data is lost.
Equivalent to killing all the brokers at once. This does not affect quorum because
only qpidd services are affected, not other services managed by cman.
b] stopped the primary: rgmanager restarts the primary after a timeout and promotes one of the backups.
c] stopped a backup: rgmanager restarts the backups after a timeout.
Clients that are actively sending messages may see a delay while backup is restarted.
Note you need to set link-heartbeat-interval in qpidd.conf. The default is very
high (120 seconds), it should be set lower to see recovery from sigstop in a
reasonable time.
See the updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589807 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated the qpid-ha tool and qpidd init scripts to handle SASL authentication.
The qpid-ha script as as called by the qpidd-primary init script now reads
authentication settings from the qpidd.conf file and uses them to connect to the local broker.
- qpidd-primary script respects prefix: use installed location for qpidd script, not "service" call
- qpid-ha added --config option qpid-ha options to use qpidd.conf for local broker connection.
- qpid-ha --all use user/pass for each broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589391 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HA tests were using only AMQP 0-10.
Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available)
Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation.
Summary of changes:
- brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0
- default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise
- qpidtoollibs/broker.py: enable use of swig client with BrokerAgent
- Swig python client:
- support for passing client_properties/properties.
- expose AddressHelper pn_data read/write as PnData helper class
- set sender/receiver capacity on creation
- limited disposition support - rejected messages.
- support for additional timeout parameters
- expose messaging::Logger, allow log configuration to be set from python.
- ha_tests.py:
- bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF.
- pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive)
- TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.)
- Broker fixes:
- Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue.
- broker::amqp::Session was always setting an exclusive owner in createQueue
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584347 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1583778 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Previously qpid-ha status --all on a standalone broker produced no output.
Now it prints the status of the standalone broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580962 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
in the route map
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580827 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
reorganization of qls python modules.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578899 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Windows path. as per Jan's suggestion
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576460 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576020 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
works - it doesn't break on Linux, but I can't test Cygwin myself
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575537 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575533 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
mostly works, but there are issues with the bindings and subscriptions - though I think that this might be a problem with the Java Broker Management Model
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575530 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
the ExclusivityPolicy, which compiled OK but gave ClassCastExceptions. This commit sorts that problem and also tweaks the returned port to report the TCP based AMQP port not the WS one
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571021 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
internals
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569525 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564808 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Remove invalid --backup option from qpid-ha set and query commands.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564797 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
operation=unlock; rid=.." on aborted DTX transaction in TplStore
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563387 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1561848 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560530 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
new location of QMF2 API docs
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1557407 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
journals. This checkin is work-in-progress.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556888 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
As bash isn't specified by POSIX its location is variable.
Specifically under BSDs it isn't found in /bin/bash.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541763 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540793 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538694 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538626 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532324 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This reverts commit 067e9aa1656b9f92e5910bbb6d530f9df6d0dad3.
It had the wrong JIRA number in the commit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532323 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532049 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530301 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529200 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
and python.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529198 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526637 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525091 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519739 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519480 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
were missing it
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
tools/src/java/src/qpid-broker-plugins-management-qmf2/java/org/apache/qpid/server/qmf2/agentdata/Session.java to source control unfortunately I'd missed that previously
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
getType() method in instances of PluginFactory. This commit adds getType() to QmfManagementFactory.java
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504839 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
reuse when rendering QMF objects in various pages. I've added a qmfui.renderObject and qmfui.renderArray method to handle these general patterns and hopefully improve maintainability. There's no new features in this update, just some slightly more readable code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495854 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
little too much like -copy and paste reuse- the resulting change hasn't added any functionality, but will help when I get round to adding federation support
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493504 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485836 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478311 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
patch from Ernie Allen
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478309 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476792 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
AbstractPluginAdapter Constructor on r1476544
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476550 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
ConsumerAdapter
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476219 13f79535-47bb-0310-9956-ffa450edef68
|