MDEV-10442: "Address already in use" on restart
SST processes should inherit mysqld's process group.
This commit is contained in:
parent
44ccb8f29e
commit
ebe061900b
@ -264,7 +264,6 @@ process::process (const char* cmd, const char* type, char** env)
|
|||||||
|
|
||||||
err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF |
|
err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF |
|
||||||
POSIX_SPAWN_SETSIGMASK |
|
POSIX_SPAWN_SETSIGMASK |
|
||||||
/* start a new process group */ POSIX_SPAWN_SETPGROUP |
|
|
||||||
POSIX_SPAWN_USEVFORK);
|
POSIX_SPAWN_USEVFORK);
|
||||||
if (err_)
|
if (err_)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user