Re: [Maria-developers] [Commits] Rev 3942: MDEV-5205 - MariaDB does not start if more than 128 cpu's are available
![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
Hi, Sergey! On Nov 06, Sergey Vojtovich wrote:
------------------------------------------------------------ revno: 3942 revision-id: svoj@mariadb.org-20131106185339-wjz3xuru8ojnz00l parent: monty@askmonty.org-20131105183036-051tak9a2fq9ii05 committer: Sergey Vojtovich
branch nick: 5.5-mdev5205 timestamp: Wed 2013-11-06 22:53:39 +0400 message: MDEV-5205 - MariaDB does not start if more than 128 cpu's are available An addition to fix for MDEV-5205, fixes server crash on shutdown.
Thread groups are destroyed asynchronously, that is kill server thread sends shutdown request to all thread groups without waiting for compeltion.
It means all_groups array must not be freed until all thread groups are down. This patch suggests that all_groups is freed when last thread group is destroyed.
Looks reasonable. ok to push Regards, Sergei
participants (1)
-
Sergei Golubchik