Galera 4 and MySQL 8 replica_parallel_workers parameter
90 views
Skip to first unread message
Qusay Thiab
unread,
Jun 15, 2023, 7:12:17 AM6/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codership
We are facing issue with Galera 4 and MySQL 8 with replica_parallel_workers default setting is set to 4, is there a need to set this to 1 (i.e. single threaded) ?? as we faced issues with queries stuck in this state: waiting for handler
Seppo Jaakola
unread,
Jun 15, 2023, 7:24:03 AM6/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codership
MySQL 8.0.32 has indeed replica_parallel_workers = 4 by default, and it has turned out that this can cause async replication thread hanging. This issue is fixed in next 8.0.33 version, which is in final release preparation stage atm. With older MySQL versions, the work-around will be to make sure that set replica_parallel_workers = 1
Qusay Thiab
unread,
Jun 15, 2023, 9:55:50 AM6/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codership
Thanks for confirming the issue and the solution ... we will test it and see ...
Colin Charles
unread,
Jun 19, 2023, 6:48:25 AM6/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codership
just to let you know, there is a new release, please give it a go