[MDEV-19462] Deadlock with vBulletin server and replication Created: 2019-05-13 Updated: 2023-04-17 Resolved: 2023-04-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Debian, Replication, Server |
| Affects Version/s: | 10.3.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Thibaut Perrin | Assignee: | Andrei Elkin |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
Debian 9 Stretch. |
||
| Issue Links: |
|
||||||||
| Description |
|
I have a vBulletin server running (v4.2.5), with PHP 7.1. They were running on the 10.1 version from the apt repositories from Debian (mariadb-server-core-10.1/stable 10.1.38-0+deb9u1). I decided to upgrade the MariaDB using the MariaDB apt repo, which gave me an upgrade to 10.3.14. The database is replicated onto another server with the same OS / MariaDB version from stratch (Debian 9 / MariaDB 10.3). Replication works fine :
Now, whenever someone opens multiple threads in a very short time range, they will likely be facing a "Database error". As an admin, I can see what the error is, and I can guarantee that this wasn't present when the database used was MariaDB 10.1. I opened a thread on the vBulletin support, but they told me there shouldn't be any issues on this type from the version I'm using, and they don't test every MariaDB version so they can't confirm the problem. Is any help possible here ? Here is the error I'm getting when it occurs :
(I masked the IPs) Tables are running in InnoDB for almost all the tables (the issue also occured when they were in MyISAM). Could this be due to replication ? Thanks, |
| Comments |
| Comment by Thibaut Perrin [ 2019-05-14 ] | ||||||||||||||||||||||||
|
Thank you for that link. I updated the database to 10.3.15, it seems that the issue is gone indeed. I'll monitor for 3-4 days, and if it doesn't reappear, I'll close this. Thanks, | ||||||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-05-15 ] | ||||||||||||||||||||||||
|
Wobak, thanks for reporting! One suggestion for any new replication report though please try making it | ||||||||||||||||||||||||
| Comment by Thibaut Perrin [ 2019-05-15 ] | ||||||||||||||||||||||||
|
Hi, As the error is instantaneous and disappears with a page reload, the show processlist doesn't show anything useful :
Also, unfortunately, the error still exists even when master and slave are running 10.3.15 | ||||||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-10-15 ] | ||||||||||||||||||||||||
|
Wobak Thank you for the report! What was the slave configuration - do you still have its cnf file and a show-global-variables log? | ||||||||||||||||||||||||
| Comment by Thibaut Perrin [ 2019-10-18 ] | ||||||||||||||||||||||||
|
Hi Andrei, The issue seems to be gone since I updated both Master and Slave to 10.3.18-MariaDB
Do you still need that info ? | ||||||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-10-19 ] | ||||||||||||||||||||||||
|
Wobak, salute. Not this does not look urgent as apparently you moved away from reproducing context. Hopefully it was something that got fixed already.Nevertheless, could you tell us whether the slave was in parallel mode (slave_parallel_threads > 0)? Cheers. | ||||||||||||||||||||||||
| Comment by Thibaut Perrin [ 2019-10-19 ] | ||||||||||||||||||||||||
|
MariaDB [(none)]> show global variables where variable_name like 'slave_%';
---------------------------------
| ||||||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-10-20 ] | ||||||||||||||||||||||||
|
Thanks, Wobak! It was not parallel. I suggest we close it. Feel free to express any other opinion or act to close. |