add status code for apply_cb for terminating applier
Bug #1020450 reported by
Seppo Jaakola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.6 |
Fix Released
|
Wishlist
|
Seppo Jaakola |
Bug Description
Applier threads must terminate gracefully, and best way to do it seems to be to mark an applier to be terminated and when returning from next apply_cb call, to tell the provider library that this applier thread needs to terminate.
SImple way to communicate this need to terminate applier is to reserve new status code for apply_cb:
WSREP_APPLIER_
Changed in wsrep: | |
importance: | Undecided → Wishlist |
Changed in codership-mysql: | |
importance: | Undecided → Wishlist |
Changed in wsrep: | |
assignee: | nobody → Seppo Jaakola (seppo-jaakola) |
Changed in codership-mysql: | |
assignee: | nobody → Seppo Jaakola (seppo-jaakola) |
Changed in wsrep: | |
status: | New → Fix Committed |
Changed in codership-mysql: | |
status: | New → Fix Committed |
Changed in wsrep: | |
milestone: | none → 24 |
Changed in codership-mysql: | |
status: | Fix Committed → In Progress |
no longer affects: | wsrep |
To post a comment you must log in.
Fix pushed in wsrep-5.5 in revision: http:// bazaar. launchpad. net/~codership/ codership- mysql/wsrep- 5.5/revision/ 3868 bazaar. launchpad. net/~codership/ codership- mysql/5. 6/revision/ 3923
Fix pushed in wsrep-5.6 in revision: http://