Log message fixed
Log message fixed
This commit is contained in:
parent
e5b041ea93
commit
93876f565d
@ -510,6 +510,10 @@ int log_no_members = 1;
|
||||
}
|
||||
|
||||
nrounds += 1;
|
||||
|
||||
/* reset cluster members counter */
|
||||
is_cluster=0;
|
||||
|
||||
ptr = handle->databases;
|
||||
|
||||
while (ptr)
|
||||
@ -553,9 +557,6 @@ int log_no_members = 1;
|
||||
ptr = ptr->next;
|
||||
}
|
||||
|
||||
/* reset cluster members counter */
|
||||
is_cluster=0;
|
||||
|
||||
/*
|
||||
* Let's select a master server:
|
||||
* it could be the candidate master following MIN(node_id) rule or
|
||||
@ -612,7 +613,7 @@ int log_no_members = 1;
|
||||
if (is_cluster > 0 && log_no_members == 0) {
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
LOGFILE_ERROR,
|
||||
"Info: found %i cluster members", is_cluster)));
|
||||
"Info: found cluster members")));
|
||||
log_no_members = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user