git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f134db9
)
recoverd: fix a comment in main_loop
author
Michael Adam
<obnox@samba.org>
Fri, 21 Jun 2013 15:57:37 +0000
(17:57 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 26 Aug 2013 11:35:55 +0000
(13:35 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
ac06c46e4a80c635f6094b5ac6f0bf3e3a02db95
)
server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 860f260b2dd6468596d04ed5712d0c88c358b08e..b01fadb1741a407f8aeea14af4c3ee2f65e466af 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-3027,9
+3027,9
@@
static void main_loop(struct ctdb_context *ctdb, struct ctdb_recoverd *rec,
}
/*
- *
if the current recmaster do
not have CTDB_CAP_RECMASTER,
- * but we have force an election and try to become the new
- * recmaster
+ *
If the current recmaster does
not have CTDB_CAP_RECMASTER,
+ * but we have
, then
force an election and try to become the new
+ * recmaster
.
*/
if ((rec->ctdb->nodes[rec->recmaster]->capabilities & CTDB_CAP_RECMASTER) == 0 &&
(rec->ctdb->capabilities & CTDB_CAP_RECMASTER) &&