ACK On 14/01/15 17:04, Jan Friesse wrote:
Because of 1 megabyte limit, it may be impossible to send message, so rather then assert, error is logged. Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> --- exec/cpg.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/exec/cpg.c b/exec/cpg.c index 1c6fbb9..252c01a 100644 --- a/exec/cpg.c +++ b/exec/cpg.c @@ -1910,7 +1910,10 @@ static void message_handler_req_lib_cpg_mcast (void *conn, const void *message) req_exec_cpg_iovec[1].iov_len = msglen; result = api->totem_mcast (req_exec_cpg_iovec, 2, TOTEM_AGREED); - assert(result == 0); + if (result != 0) { + log_printf(LOGSYS_LEVEL_ERROR, "*** %p can't mcast to group %s state:%d, error:%d", + conn, group_name.value, cpd->cpd_state, result); + } } else { log_printf(LOGSYS_LEVEL_ERROR, "*** %p can't mcast to group %s state:%d, error:%d", conn, group_name.value, cpd->cpd_state, error);
_______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss