[MDEV-12008] Change error code for Galera unkillable threads Created: 2017-02-07  Updated: 2021-09-22  Resolved: 2019-05-20

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.1.21, 5.5.54-galera, 10.0.29-galera
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Claudio Nanni Assignee: Jan Lindström (Inactive)
Resolution: Duplicate Votes: 1
Labels: galera


 Description   

See also: https://github.com/codership/galera/issues/447

Galera can mark user threads as high priority and so they can't be killed, the check is done in the same condition that checks the privileges for killing threads/queries and so the error message is the same, which in case of galera unkillable thread is misleading "You are not the owner of the thread .... " even if you are the owner or a fully privileged user.



 Comments   
Comment by Jan Lindström (Inactive) [ 2019-05-20 ]

https://jira.mariadb.org/browse/MDEV-12009

Comment by Karl Levik [ 2021-09-22 ]

This is not a duplicate of MDEV-12009 ("won't fix") which is about making it possible to kill such threads.

This ticket is simply about changing the misleading error message.

Generated at Thu Feb 08 07:54:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.