[MDEV-17809] Query execution was interrupted and BF lock wait long for trx Created: 2018-11-23 Updated: 2023-06-06 Resolved: 2023-06-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, wsrep |
| Affects Version/s: | 10.3.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Chow King Tak | Assignee: | Julius Goryavsky |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Redhat el6, cluster with 2 nodes and 1 arbitrator |
||
| Attachments: |
|
| Description |
|
I am using 10.3.11. I have a table: The table contains data of Node1 and Node2 and it have the column 'site' to indicate the data coming from which node. Therefore Node1 only inserts, deletes, updates data of Node1 and Node2 only inserts, deletes, updates data of Node2. I have a stored procedure which loops for more than 10,000 times and read the data from the table 'tmp_app_to_db_status_report' for processing. It will takes several minutes to finish. On Node1, I start the stored procedure to read from 'tmp_app_to_db_status_report' and process Node1's data (i.e. where site='Node1'). During the execution of the stored procedure , on Node2, I delete/insert data of Node2 only (where site='Node2') from/to 'tmp_app_to_db_status_report'. The execution of the stored procedure on Node1 sometimes is terminated with error "ERROR 1317 (70100): Query execution was interrupted" and the massive "BF lock wait long for trx" messages are logged in the mysqld.err of Node1. I have attachment the mysqld.err for reference. Please advise and thanks in advanced. |
| Comments |
| Comment by Chow King Tak [ 2018-11-27 ] | |||||||||||||||||||||||||||||||||||||
|
I have created a simple test case to produce the similar massive BF message.
(The SP runs with sleeping for 5 sec. in order to allow you to execute delete statement on Node B)
6. Massive BF message will be logged on Node A's mysqld.err. I have further attached the updated my.cnf and mysqld.err for reference. Please advise and thanks, KT Chow | |||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström [ 2023-06-06 ] | |||||||||||||||||||||||||||||||||||||
|
10.3 is EOL soon. |