diff options
| author | Alan Conway <aconway@apache.org> | 2013-02-25 19:43:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-02-25 19:43:29 +0000 |
| commit | 7777cf9b68d74dd3d90a9646e5afcfcb1a69dfe1 (patch) | |
| tree | 6864b75256d43be86f526bff2b1e820881a8d3cf /cpp/etc | |
| parent | e0045c53af7d5178a46460fd69f5fbe3531565e3 (diff) | |
| download | qpid-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-x | cpp/etc/qpidd-primary.in | 2 |
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" |
