Comment 1 for bug 1132955

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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?