Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.18
-
Debian GNU/Linux 9 (stretch)
Description
Hi Mariadb Team,
My production nodes are crashing frequently. I have analysed the error log and I found below logs.
Actually I faced this kind of issue on mariadb 10.4.17 version, and I found some bug reports on this version. So recently mariadb 10.4.18 version was rolled out.
I updated my cluster nodes to latest version. Even still my db nodes are crashing.
Here I have attached error log. Please go through it.
Error :
------
65: len 1; hex 00; asc ;;
66: len 5; hex 99a8f12c2c; asc ,,;;
67: len 1; hex 00; asc ;;
2021-02-24 18:49:05 1 [ERROR] InnoDB: WSREP state:
2021-02-24 18:49:05 1 [ERROR] WSREP: Thread BF trx_id: 1278293843 thread: 1 seqno: 556450776 client_state: exec client_mode: high priority transaction_mode: replaying applier: 1 toi: 0 local: 0 query: update person set is_deleted=0, update_date='2021-02-24 18:49:00', updated_by='system', ambassador_id=null, is_appvdi_access=0, avatar=null, birth_date=null, birth_department=null, birth_place=null, blocked=null, civility_id=9, clss=null, coach_id=null, is_coach_valid=null, person_nbr='3756798', comment=null, is_commissionable=0, counter_change='001', country_id=1, creation_time='184846', customer_id=null, customer_number_company='CMODELEFR', customer_number_existing=null, default_delivery_address=null, delivery_mode_id=null, end_date=null, entry_date=null, external_ref=null, is_extranet_access=null, first_name='Dominique', person_function_id=null, is_functionary=0, junior_host_id=null, language_id=2, last_change_date='2021-02-24 00:00:00', last_name='VOISINE', last_time_updated='2021-02-24 18:48:46', is_live_workshop_access=0, maiden_name=
2021-02-24 18:49:05 1 [ERROR] WSREP: Thread BF trx_id: 1278293817 thread: 19 seqno: 556450774 client_state: exec client_mode: high priority transaction_mode: ordered_commit applier: 1 toi: 0 local: 0 query: NULL
2021-02-24 18:49:05 0x7f7ce2898700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.4.18/storage/innobase/lock/lock0lock.cc line 706
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
InnoDB: about forcing recovery.
210224 18:49:05 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.4.18-MariaDB-1:10.4.18+maria~stretch-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=34
max_threads=502
thread_count=54
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1235819 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f7c040fd0e8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f7ce2897cc8 thread_stack 0x49000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x560471f19f5e]
/usr/sbin/mysqld(handle_fatal_signal+0x3af)[0x5604719a7caf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0)[0x7f81dc00b0e0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf)[0x7f81da496fff]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f81da49842a]
/usr/sbin/mysqld(+0x587f9b)[0x5604716a7f9b]
/usr/sbin/mysqld(+0xa74e6f)[0x560471b94e6f]
/usr/sbin/mysqld(+0xa761ed)[0x560471b961ed]
/usr/sbin/mysqld(+0xa7d005)[0x560471b9d005]
/usr/sbin/mysqld(+0xb16d2a)[0x560471c36d2a]
/usr/sbin/mysqld(+0xb1caad)[0x560471c3caad]
/usr/sbin/mysqld(+0xa3ad6a)[0x560471b5ad6a]
/usr/sbin/mysqld(ZN7handler10ha_rnd_posEPhS0+0x77)[0x5604719acdf7]
/usr/sbin/mysqld(+0x7a8143)[0x5604718c8143]
/usr/sbin/mysqld(_ZN14Rows_log_event8find_rowEP14rpl_group_info+0x310)[0x560471aa9e10]
/usr/sbin/mysqld(_ZN21Update_rows_log_event11do_exec_rowEP14rpl_group_info+0xe0)[0x560471aaa5b0]
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEP14rpl_group_info+0x24f)[0x560471a9d44f]
/usr/sbin/mysqld(_Z18wsrep_apply_eventsP3THDP14Relay_log_infoPKvm+0x237)[0x560471918f77]
/usr/sbin/mysqld(_ZN22Wsrep_replayer_service15apply_write_setERKN5wsrep7ws_metaERKNS0_12const_bufferERNS0_14mutable_bufferE+0x7a)[0x560471900a9a]
/usr/sbin/mysqld(+0xe93d5a)[0x560471fb3d5a]
/usr/sbin/mysqld(_ZN5wsrep12server_state8on_applyERNS_21high_priority_serviceERKNS_9ws_handleERKNS_7ws_metaERKNS_12const_bufferE+0x48)[0x560471fb4618]
/usr/sbin/mysqld(+0xea9d52)[0x560471fc9d52]
/usr/lib/galera/libgalera_smm.so(+0x3135e)[0x7f81b95fb35e]
/usr/lib/galera/libgalera_smm.so(+0x48825)[0x7f81b9612825]
/usr/lib/galera/libgalera_smm.so(+0x1f9b3)[0x7f81b95e99b3]
/usr/sbin/mysqld(_ZN5wsrep18wsrep_provider_v266replayERKNS_9ws_handleEPNS_21high_priority_serviceE+0x29)[0x560471fcb259]
/usr/sbin/mysqld(_ZN20Wsrep_client_service6replayEv+0xf4)[0x560471900744]
/usr/sbin/mysqld(_ZN5wsrep11transaction6replayERSt11unique_lockINS_5mutexEE+0x96)[0x560471fc3e76]
/usr/sbin/mysqld(_ZN5wsrep11transaction15after_statementEv+0x14e)[0x560471fc588e]
/usr/sbin/mysqld(_ZN5wsrep12client_state15after_statementEv+0xb6)[0x560471fa73c6]
/usr/sbin/mysqld(+0x6770b9)[0x5604717970b9]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x21e0)[0x560471799960]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x11f)[0x56047179a1cf]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x269)[0x560471879ee9]
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x560471879f7d]
/usr/sbin/mysqld(+0xda2e21)[0x560471ec2e21]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4)[0x7f81dc0014a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f81da54cd0f]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f80c9080bcc): update person set is_deleted=0, update_date='2021-02-24 18:49:00', updated_by='system', ambassador_id=null, is_appvdi_access=0, avatar=null, birth_date=null, birth_department=null, birth_place=null, blocked=null, civility_id=9, clss=null, coach_id=null, is_coach_valid=null, person_nbr='3756798', comment=null, is_commissionable=0, counter_change='001', country_id=1, creation_time='184846', customer_id=null, customer_number_company='CMODELEFR', customer_number_existing=null, default_delivery_address=null, delivery_mode_id=null, end_date=null, entry_date=null, external_ref=null, is_extranet_access=null, first_name='Dominique', person_function_id=null, is_functionary=0, junior_host_id=null, language_id=2, last_change_date='2021-02-24 00:00:00', last_name='VOISINE', last_time_updated='2021-02-24 18:48:46', is_live_workshop_access=0, maiden_name=null, manager_id=null, manager_date=null, marraine_id=null, payment_condition=null, pwd=null, role='CLIENT', sage_id=null, sector_geographic_id=null, sector_hierarchy_id=null, security_number=null, seniority=null, society_id=2, status_id=20, turn_over_month=null, turn_over_previous_month=null, turn_over_previous_year=null, turn_over_year=null, user_changed='APIMID', workshop_flag=null where id=8969644
Connection ID (thread ID): 1
Status: NOT_KILLED
Attachments
Issue Links
- relates to
-
MDEV-23851 Galera assertion at lock0lock.cc line 655 because of BF-BF lock wait
- Closed