mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
recoverd: fix a comment in main_loop
Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit ac06c46e4a80c635f6094b5ac6f0bf3e3a02db95)
This commit is contained in:
parent
26365f2a5f
commit
159b9a2989
@ -3493,9 +3493,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) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user