summaryrefslogtreecommitdiff
path: root/cpp/etc
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-02-25 19:43:29 +0000
committerAlan Conway <aconway@apache.org>2013-02-25 19:43:29 +0000
commit7777cf9b68d74dd3d90a9646e5afcfcb1a69dfe1 (patch)
tree6864b75256d43be86f526bff2b1e820881a8d3cf /cpp/etc
parente0045c53af7d5178a46460fd69f5fbe3531565e3 (diff)
downloadqpid-python-7777cf9b68d74dd3d90a9646e5afcfcb1a69dfe1.tar.gz
Bug 891689 - New HA regularly shutting down active node
qpid-primary script was incorrect and failing on status calls, causing the broker to be restarted by rgmanager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1449832 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/etc')
-rwxr-xr-xcpp/etc/qpidd-primary.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/etc/qpidd-primary.in b/cpp/etc/qpidd-primary.in
index 39700bead3..da0c0c2771 100755
--- a/cpp/etc/qpidd-primary.in
+++ b/cpp/etc/qpidd-primary.in
@@ -57,7 +57,7 @@ if [[ !(-x $QPID_HA) ]]; then
fi
status() {
- if $QPID_HA -b localhost:$QPID_PORT status --expect=primary ; then
+ if $QPID_HA -b localhost:$QPID_PORT status --is-primary ; then
echo "qpidd is primary"
else
echo "qpidd is not primary"