summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2004-10-27 11:01:38 +0400
committerunknown <petr@mysql.com>2004-10-27 11:01:38 +0400
commitc77560bf2c2e28e5f66dda7e9729233e187aea33 (patch)
treef1985d43712c14b8c62770fdd6a6c87678757970
parent573f1bb8a14695154f14064a64859603b0c951ec (diff)
downloadmariadb-git-c77560bf2c2e28e5f66dda7e9729233e187aea33.tar.gz
comment fixed to reflect the current state of things
server-tools/instance-manager/guardian.cc: comment fixed
-rw-r--r--server-tools/instance-manager/guardian.cc7
1 files 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