summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpetr@mysql.com <>2004-10-27 11:01:38 +0400
committerpetr@mysql.com <>2004-10-27 11:01:38 +0400
commite415866cfef650114d50d0c867c526948a7c1132 (patch)
treef1985d43712c14b8c62770fdd6a6c87678757970
parent1e77ed66019e441ba8a0a3cb86f2d8b860f147ed (diff)
downloadmariadb-git-e415866cfef650114d50d0c867c526948a7c1132.tar.gz
comment fixed to reflect the current state of things
-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