Log message fixed

Log message fixed
This commit is contained in:
MassimilianoPinto 2014-11-21 11:57:57 +01:00
parent e5b041ea93
commit 93876f565d

View File

@ -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;
}
}