Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.11.9
-
None
Description
Last night we encountered a MDL BF-BF conflict on the second node of one of our clusters.
logging for the error:
Feb 18 21:50:08 node02 mariadbd[1071]: 2025-02-18 21:50:08 9 [Note] WSREP: MDL BF-BF conflict
Feb 18 21:50:08 node02 mariadbd[1071]: schema: db
Feb 18 21:50:08 node02 mariadbd[1071]: request: (9 #011seqno 113068570 #011wsrep (high priority, exec, executing) cmd 0 161 #011update `c` set `s` = 'de4def60-4e1a-4c44-b2cc-544a02119308', `c`.`updated_at` = '2025-02-18T20:50:07Z' where `id` = '889d45d4-1617-4d72-83ff-28fc241b156b'^?ò´g#023#001)
Feb 18 21:50:08 node02 mariadbd[1071]: granted: (8 #011seqno 113068568 #011wsrep (toi, exec, committed) cmd 0 45 #011OPTIMIZE TABLE `db`.`c_d_t`)
Feb 18 21:50:08 node02 mariadbd[1071]: 2025-02-18 21:50:08 9 [ERROR] Aborting
after that the node set wsrep_ready to "off"
I've spoken to the developers, the tables in the 2 queries are not related (no triggers or anything affecting the table that is being optimized). From what I've gathered from the developers the OPTIMIZE is part of cronjob for multiple tables and multiple dbs. This cron started at 21:48:02
The OPTIMIZE started at the first node at 21:50:07 and finished in 1.2024 seconds.
unfortunately logging does not show any additional information.
Attachments
Issue Links
- duplicates
-
MDEV-28452 wsrep_ready: OFF after MDL BF-BF conflict
-
- Closed
-
-
MDEV-30303 run optimize table got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting
-
- Closed
-
-
MDEV-31544 MariaDB crash on OPTIMIZE with "MDL BF-BF conflict"
-
- Open
-
-
MDEV-33908 WSREP: MDL BF-BF conflict
-
- Closed
-
- relates to
-
MDEV-25039 MDL BF-BF conflict because of foreign key
-
- Open
-
-
MDEV-30413 run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting
-
- Closed
-
-
MDEV-34606 Node never joins back - WSREP: gcs_caused() returned -103 (Software caused connection abort) after WSREP: MDL BF-BF conflict
-
- Open
-
-
MDEV-34834 cluster hang because of conflict between DDL from wsrep and DML executed from trigger
-
- Closed
-
-
MDEV-35018 Concurrent UPDATE and DROP TABLE cause MDL BF-BF conflict
-
- Closed
-
-
MDEV-36392 WSREP: MDL BF-BF conflict
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Galera [ 10124 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Assignee | Julius Goryavsky [ sysprg ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Link | This issue duplicates MDEV-31544 [ MDEV-31544 ] |
Link | This issue relates to MDEV-36392 [ MDEV-36392 ] |
Link |
This issue duplicates |
Link |
This issue duplicates |
Link |
This issue relates to |
Link |
This issue duplicates |
Link | This issue relates to MDEV-25039 [ MDEV-25039 ] |
Link | This issue relates to MDEV-34606 [ MDEV-34606 ] |
Link |
This issue relates to |
Link | This issue relates to MENT-2179 [ MENT-2179 ] |
Link |
This issue relates to |
Assignee | Julius Goryavsky [ sysprg ] | Jan Lindström [ JIRAUSER53125 ] |
Status | Stalled [ 10000 ] | Needs Feedback [ 10501 ] |
Assignee | Jan Lindström [ JIRAUSER53125 ] | Hemant Dangi [ JIRAUSER55910 ] |
Attachment | config-and-tables.zip [ 75006 ] |
Status | Needs Feedback [ 10501 ] | Open [ 1 ] |
2 days ago I've update our clusters from 10.11.9 to 10.11.11, last night we ran into the MDL BF-BF conflict again on 10.11.11
logs from last night:
Mar 4 21:51:31 node02 mariadbd[1063]: 2025-03-04 21:51:31 2 [Note] WSREP: MDL BF-BF conflict
Mar 4 21:51:31 node02 mariadbd[1063]: schema: db
Mar 4 21:51:31 node02 mariadbd[1063]: request: (2 #011seqno 107959336 #011wsrep (high priority, exec, executing) cmd 0 161 #011insert into `c` (`s`, `st`, `cf`, `n`, `d`, `dd`, `bid`, `id`, `updated_at`, `created_at`) values ('p', 'custom', '[{\"id\":\"eaea1c10-a028-40f3-9e44-6cef1fafa02e\",\"name\":\"Projectnr\",\"type\":\"number\",\"priority\":7,\"value\":250220},{\"id\":\"72b62627-f963-47cb-9192-cbc0142805a4\",\"name\":\"Fasenr\",\"type\":\"number\",\"priority\":8,\"value\":38131},{\"id\":\"c7df13c5-bca
Mar 4 21:51:31 node02 mariadbd[1063]: 2025-03-04 21:51:31 2 [ERROR] Aborting