Percona XtraDB Cluster - HA scalable solution for MySQL

sst_donate_other returns bad error code if pthread_create() fails

Reported by Teemu Ollakka on 2013-04-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Undecided
Teemu Ollakka
Percona XtraDB Cluster
Undecided
Unassigned

Bug Description

wsrep_sst_donate_cb_t definition states that return code should be 0 for success or negative error code. However, if sst_donate_other() fails to create a new thread, positive return code of pthread_create() is returned directly, which causes error to get unnoticed on caller.

Teemu Ollakka (teemu-ollakka) wrote :
Changed in codership-mysql:
status: New → Fix Committed
assignee: nobody → Teemu Ollakka (teemu-ollakka)
milestone: none → 5.5.30-23.7.4
Changed in percona-xtradb-cluster:
milestone: none → 5.5.30-23.7.4
Changed in percona-xtradb-cluster:
status: New → Fix Released
Changed in codership-mysql:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers