From 3691a8a426787e8f7a9b902d6cb6ab28ec20697a Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 27 Oct 2004 11:01:38 +0400 Subject: [PATCH] comment fixed to reflect the current state of things server-tools/instance-manager/guardian.cc: comment fixed --- server-tools/instance-manager/guardian.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server-tools/instance-manager/guardian.cc b/server-tools/instance-manager/guardian.cc index c7c0f1b0a77..ac3e6298ea1 100644 --- a/server-tools/instance-manager/guardian.cc +++ b/server-tools/instance-manager/guardian.cc @@ -127,12 +127,13 @@ int Guardian_thread::start() SYNOPSYS guard() - instance_name the name of the instance to be guarded - name_len the length of the name + instance the instance to be guarded DESCRIPTION - The instance is added to the list of guarded instances. + The instance is added to the list of starting instances. Then after one guardian + loop it is moved to the guarded instances list. Usually guard() is called after we + start an instance, so we need to give some time to the instance to start. RETURN 0 - ok