[MDEV-25840] mysqld (initiated by: unknown): Normal shutdown - "unknown" to be specific Created: 2021-06-02  Updated: 2021-08-20

Status: Open
Project: MariaDB Server
Component/s: Server
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Daniel Black Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None


 Description   

From https://mariadb.com/kb/en/how-to-identify-this-mysqld-initiated-by-unknown-normal-shutdown

"unknown" is by a signal rather than a user.

GA - can we change unknown to "signal" (and how would translations work?)

non-GA - can we use sigwaitinfo and its siginfo_t structure to take si_pid, si_uid (anything else interesting?) into the error message.



 Comments   
Comment by Vladislav Vaintroub [ 2021-06-02 ]

The translation of "signal" would not work on Windows. There are no signals there. 10.6 already tries its best to accurately describe the origin of shutdown there.

Generated at Thu Feb 08 09:40:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.