unireg_abort(1) is called when wsrep_init() fails
Bug #857930 reported by
Alex Yurchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Medium
|
Seppo Jaakola | ||
5.1 |
Fix Released
|
Medium
|
Alex Yurchenko | ||
5.5 |
Fix Released
|
Medium
|
Seppo Jaakola |
Bug Description
yet when wsrep_init() fails provider is in uninitialized state and unireg_abort() tries to call wsrep->close() and stuff which would result in segfault. Somehow unireg_abort() should be told not to do this in that case, by e.g. zeroing up wsrep pointer.
Related branches
Changed in codership-mysql: | |
status: | New → Confirmed |
status: | Confirmed → New |
description: | updated |
To post a comment you must log in.
Pushed a fix #3559. Setting wsrep handler to NULL, if wsrep_init() fails. In unireg_abort(), wsrep operations are already currently skipped if there is no wsrep handler, so aborting should be safe with #3559