Is there any context where the member list can be empty?
From wsrep_notify.cc: ========= for (int i = 0; i < view->memb_num; i++) { wsrep_uuid_print (&view->members[i].id, uuid_str, sizeof(uuid_str)); cmd_off += snprintf (cmd_ptr + cmd_off, cmd_len - cmd_off, "%c%s/%s/%s", i > 0 ? ',' : ' ', uuid_str, view->members[i].name, view->members[i].incoming); }
=========
Is the self (the node on where this runs) not part of view (ie. view->my_idx being one of view->memb_num)? If not, is this a bug?
Is there any context where the member list can be empty?
From wsrep_notify.cc: uuid_print (&view- >members[ i].id, uuid_str, sizeof(uuid_str));
" %c%s/%s/ %s", i > 0 ? ',' : ' ',
uuid_ str, view->members[ i].name,
view- >members[ i].incoming) ;
=========
for (int i = 0; i < view->memb_num; i++)
{
wsrep_
cmd_off += snprintf (cmd_ptr + cmd_off, cmd_len - cmd_off,
}
=========
Is the self (the node on where this runs) not part of view (ie.
view->my_idx being one of view->memb_num)? If not, is this a bug?