From 6638cf0898c9680a44eb8d4d10c0b64d61b12fe0 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 25 Feb 2013 19:43:29 +0000 Subject: 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@1449832 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/ha/types.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/ha/types.cpp b/qpid/cpp/src/qpid/ha/types.cpp index 4010ec03a8..bb4bf83574 100644 --- a/qpid/cpp/src/qpid/ha/types.cpp +++ b/qpid/cpp/src/qpid/ha/types.cpp @@ -56,6 +56,11 @@ template <> const char* Enum::NAMES[] = { "none", "configuration template <> const size_t Enum::N = 3; template <> const char* Enum::NAME = "HA broker status"; + +// NOTE: Changing status names will have an impact on qpid-ha and +// the qpidd-primary init script. +// Don't change them unless you are going to update all dependent code. +// template <> const char* Enum::NAMES[] = { "joining", "catchup", "ready", "recovering", "active", "standalone" }; -- cgit v1.2.1