Example wsrep_notify script fails on node shutdown
Bug #1132955 reported by
Alex Yurchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Medium
|
Yan Zhang | |||
5.6 |
Fix Released
|
Medium
|
Yan Zhang | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Due to empty member list supplied:
/usr/share/
130225 9:49:43 [ERROR] WSREP: Process completed with error: /usr/share/
line 88:
MEMBERS=$2
Changed in codership-mysql: | |
milestone: | 5.5.30-24.8 → 5.5.31-23.7.4 |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.31-25 |
Changed in codership-mysql: | |
milestone: | 5.5.31-23.7.5 → 5.5.32-23.7.6 |
Changed in percona-xtradb-cluster: | |
milestone: | 5.5.33-23.7.6 → future-5.5 |
Changed in codership-mysql: | |
milestone: | 5.5.33-23.7.6 → 5.5.34-24.9 |
Changed in codership-mysql: | |
milestone: | 5.5.34-25.9 → 5.5.34-25.10 |
To post a comment you must log in.
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?