[MDEV-18400] Move shutdown handling to main thread Created: 2019-01-28 Updated: 2019-01-29 Resolved: 2019-01-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | 10.4.3 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Currently shutdown is handled partially by main thread, partially by "shutdown thread" created by signal handler, partially by thread initiated shutdown. Instead we should let thread initiating shutdown notify main thread and then main thread takes over all shutdown handling. Aim of this task is to have cleaner shutdown. |