[MDEV-7217] MariaDB Node crashes with WSREP: SQL statement was ineffective Created: 2014-11-26 Updated: 2023-06-06 Resolved: 2023-06-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 5.5.37-galera, 10.0.19-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew | Assignee: | Ramesh Sivaraman |
| Resolution: | Won't Fix | Votes: | 2 |
| Labels: | galera, need_verification | ||
| Environment: |
Centos 6.5 |
||
| Attachments: |
|
| Description |
|
Hi there. I've encountered an issue with my Galera Cluster. I have 4 Nodes clustered across 2 different physical locations with a substantial link between them. I've recently had 2 node crashes (different nodes with the same error message) I'm getting the following in the server log: 141124 7:26:54 [Warning] WSREP: SQL statement was ineffective, THD: 832, buf: 175 To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 5.5.37-MariaDB-wsrep-log Thread pointer: 0x0x7f1d92e94000 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains The following Warning appears multiple times in the logs for both servers [Warning] WSREP: SQL statement was ineffective, THD: 832, buf: 175 I've definitely got all 4 nodes configured with bin_log=ROW and no auto_increment settings so I don't know whats causing this to occur during normal operations. |
| Comments |
| Comment by Andrew [ 2014-12-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Is there any additional information I can provide that will help decipher the cause of this issue? I'd really appreciate some feedback. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Joerg [ 2015-03-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
We got a similar problem. One of our 3-node MariaDB cluster node crashed. CentOS 6.6 64Bit
What can we do to avoid the error? Is there a fix or something misconfigured? | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-04-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Fos joergw : Can you share the transaction that triggered to this failure? Can you try upgrading to the latest mariadb/galera version to see if this still occurs? | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Joerg [ 2015-04-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, i am sorry that i cannot provide the requested query/transaction. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew [ 2015-04-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
I do not have the query run and I've had similar crashes occur since then but never on the same node. Upgrading is currently not an option. I'll paste the queries on the cluster across all 5 nodes if I get another crash. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-04-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
joergw Thanks for confirming that. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew [ 2015-07-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
@Nirbhay I've upgraded all nodes to 10.0.19 and I just got the exact same error on a node in preproduction. 150701 23:10:45 [ERROR] WSREP: FSM: no such a transition ROLLED_BACK -> ROLLED_BACK To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.0.19-MariaDB-wsrep-log Thread pointer: 0x0x7f3a844ba008 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-07-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Fos Ok thanks, reopened this issue for further investigation. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew [ 2015-07-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
@Nirbhay thanks. I've enabled wsrep_debug and general logging so I can try get additional information. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-07-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Fos Thanks! Please update when you find something of interest. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rich Theobald [ 2016-09-23 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Same issue MariaDB Galera 10.0.22 crash_rollback_rollback.txt | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rich Theobald [ 2017-07-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
In my case, I worked around the issue by using a procedure and checked if the session was in transaction before attempting a rollback:
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ralf Gebhardt [ 2020-06-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
stepan.patryshev, I will remove the unsupported FixVersion from this task. Please check if the task is still valid for 10.1+ and add the appropriate FixVersion | ||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström [ 2023-06-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Both versions are EOL. |