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