Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.2, 10.3.0, 10.1.32
-
MariaDB installed using repo on your site to Ubuntu 16.04.
Description
MariaDB gets the following deadlock error:
localhost-dir: sql_create.c:837-5 Fill File table Query failed: INSERT INTO File
(FileIndex, JobId, PathId, FilenameId, LStat, MD5, DeltaSeq) SELECT
batch.FileIndex, batch.JobId, Path.PathId, Filename.FilenameId,batch.LStat,
batch.MD5, batch.DeltaSeq FROM batch JOIN Path ON (batch.Path = Path.Path) JOIN
Filename ON (batch.Name = Filename.Name): ERR=Deadlock found when trying to get
lock;
When running the Bacula 9.0.1 regression script named: three-pool-virtual-test
This does not occur on any version of MySQL, nor the Ubuntu version 10.0 of MariaDB. The code has been stable for many years.
I am running all instances of MariaDB and MySQL out of the box. I have changed no parameters.
This appears to be a false deadlock detection. Note, it is 100% reproducible.
Attachments
Issue Links
- is duplicated by
-
MDEV-16067 Invalid deadlock detection
-
- Closed
-
-
MDEV-16709 InnoDB: Error: trx already had an AUTO-INC lock
-
- Closed
-
- relates to
-
MDEV-17561 Deadlocks happen often when updating different rows
-
- Closed
-
-
MDEV-11080 InnoDB: Failing assertion: table->n_waiting_or_granted_auto_inc_locks > 0
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Labels | need_feedback |
Attachment | mariadb-bug [ 43862 ] |
Labels | need_feedback |
Assignee | Alice Sherepa [ alice ] |
Attachment | output_b [ 43865 ] |
Attachment | output_b [ 43866 ] |
Attachment | output_b [ 43867 ] |
Attachment | output_b [ 43867 ] |
Attachment | output_b [ 43865 ] |
Attachment | mdev13333.test [ 43870 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Component/s | Locking [ 10900 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Assignee | Alice Sherepa [ alice ] | Sergey Vojtovich [ svoj ] |
Link |
This issue relates to |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.3 [ 22126 ] |
Assignee | Sergey Vojtovich [ svoj ] | Jan Lindström [ jplindst ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Fix Version/s | 10.1.36 [ 23117 ] | |
Fix Version/s | 10.2.18 [ 23112 ] | |
Fix Version/s | 10.3.10 [ 23140 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue relates to |
Affects Version/s | 10.3.6 [ 23003 ] | |
Affects Version/s | 10.2.14 [ 22911 ] | |
Affects Version/s | 10.1.32 [ 22908 ] | |
Affects Version/s | 10.2.7 [ 22543 ] |
Labels | regression |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Link |
This issue relates to |
Support case ID | 25849 |
Affects Version/s | 10.3.0 [ 22127 ] | |
Affects Version/s | 10.2.2 [ 22013 ] | |
Affects Version/s | 10.2.14 [ 22911 ] | |
Affects Version/s | 10.3.6 [ 23003 ] |
Workflow | MariaDB v3 [ 81683 ] | MariaDB v4 [ 152493 ] |
Zendesk Related Tickets | 187207 |