mysql-error.log.20210123

2021-01-22  2:00:48 48 [ERROR] InnoDB: Conflicting lock on table: `cnadev`.`db_loader_metadata` index: fk$db_loader_metadata$session that has lock
RECORD LOCKS space id 1460282 page no 10777 n bits 792 index fk$db_loader_metadata$session of table `cnadev`.`db_loader_metadata` trx id 10011361393 lock_mode X locks rec but not gap
Record lock, heap no 331 PHYSICAL RECORD: n_fields 2; compact format; info bits 32
 0: len 8; hex 00000000166f17ae; asc      o  ;;
 1: len 8; hex 0000000051bfb356; asc     Q  V;;

2021-01-22  2:00:48 48 [ERROR] InnoDB: WSREP state:
2021-01-22  2:00:48 48 [ERROR] WSREP: Thread BF trx_id: 10011361417 thread: 48 seqno: 553095551 client_state: exec client_mode: high priority transaction_mode: executing applier: 1 toi: 0 local: 0 query: delete from db_loader_session where end_ts <= '2020-10-24 00:00:00' LIMIT 50000 /* PROCESS(Sql Scheduler [Extensions] <sql-scheduler@cdev>, metadata_backgroxnd|abandoned[1h]|time_to_live[4h]|maximum_reuse[15m])*/
`
2021-01-22  2:00:48 48 [ERROR] WSREP: Thread BF trx_id: 10011361393 thread: 45 seqno: 553095542 client_state: exec client_mode: high priority transaction_mode: executing applier: 1 toi: 0 local: 0 query: delete from db_loader_metadata where end_ts <= '2020-10-24 00:00:00' LIMIT 50000 /* PROCESS(Sql Scheduler [Extensions] <sql-scheduler@cdev>, metadata_background|abandoned[1h]|time_to_live[4h]|maximum_reuse[15m])*/▒w
`
2021-01-22 02:00:48 0x7fa3f440c700  InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.17/storage/innobase/lock/lock0lock.cc line 687
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.
210122  2:00:48 [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.17-MariaDB
key_buffer_size=33554432
read_buffer_size=131072
max_used_connections=10
max_threads=65541
thread_count=53
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 142751291 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fa2f80009a8
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 = 0x7fa3f440bd30 thread_stack 0x49000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x558082fe44ae]
sql/signal_handler.cc:209(handle_fatal_signal)[0x558082a77e1f]
/lib64/libpthread.so.0(+0x300080f7e0)[0x7fa795f747e0]
/lib64/libc.so.6(gsignal+0x35)[0x7fa7945ce4f5]
/lib64/libc.so.6(abort+0x175)[0x7fa7945cfcd5]
2021-01-22  2:00:50 0 [Note] WSREP: (53ab8e76-bdc8, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://192.168.5.4:4567
ut/ut0rbt.cc:218(_ZL18rbt_tree_add_childPK8ib_rbt_tP14ib_rbt_bound_tP13ib_rbt_node_t.isra.4.part.5)[0x55808276f19a]
lock/lock0lock.cc:688(wsrep_assert_no_bf_bf_wait(ib_lock_t const*, ib_lock_t const*, trx_t const*))[0x558082c675ca]
lock/lock0lock.cc:1161(lock_rec_other_has_conflicting(unsigned long, buf_block_t const*, unsigned long, trx_t const*))[0x558082c68dd4]
lock/lock0lock.cc:1932(lock_rec_lock(bool, unsigned long, buf_block_t const*, unsigned long, dict_index_t*, que_thr_t*))[0x558082c706c0]
lock/lock0lock.cc:5748(lock_sec_rec_read_check_and_lock(unsigned long, buf_block_t const*, unsigned char const*, dict_index_t*, unsigned short const*, lock_mode, unsigned long, que_thr_t*))[0x558082c70bb3]
row/row0ins.cc:1697(row_ins_check_foreign_constraint(unsigned long, dict_foreign_t*, dict_table_t*, dtuple_t*, que_thr_t*))[0x558082cd70d1]
row/row0upd.cc:296(_ZL36row_upd_check_references_constraintsP10upd_node_tP10btr_pcur_tP12dict_table_tP12dict_index_tPtP9que_thr_tP5mtr_t.part.60)[0x558082d123b8]
row/row0upd.cc:2779(row_upd_check_references_constraints)[0x558082d1707b]
row/row0upd.cc:3298(row_upd)[0x558082d18524]
row/row0mysql.cc:1850(row_update_for_mysql(row_prebuilt_t*))[0x558082cf025b]
handler/ha_innodb.cc:8927(ha_innobase::delete_row(unsigned char const*))[0x558082c231fc]
sql/handler.cc:6855(handler::ha_delete_row(unsigned char const*))[0x558082a839a7]
sql/log_event.cc:14484(Delete_rows_log_event::do_exec_row(rpl_group_info*))[0x558082b807e1]
sql/log_event.cc:11653(Rows_log_event::do_apply_event(rpl_group_info*))[0x558082b73d7c]
sql/log_event.h:1485(apply_event)[0x5580829ea21d]
sql/wsrep_high_priority_service.cc:516(Wsrep_applier_service::apply_write_set(wsrep::ws_meta const&, wsrep::const_buffer const&, wsrep::mutable_buffer&))[0x5580829d57dd]
src/server_state.cpp:328(apply_write_set(wsrep::server_state&, wsrep::high_priority_service&, wsrep::ws_handle const&, wsrep::ws_meta const&, wsrep::const_buffer const&))[0x55808307a87f]
src/server_state.cpp:1139(wsrep::server_state::on_apply(wsrep::high_priority_service&, wsrep::ws_handle const&, wsrep::ws_meta const&, wsrep::const_buffer const&))[0x55808307b3a5]
src/wsrep_provider_v26.cpp:502((anonymous namespace)::apply_cb(void*, wsrep_ws_handle const*, unsigned int, wsrep_buf const*, wsrep_trx_meta const*, bool*))[0x558083092298]
src/trx_handle.cpp:387(galera::TrxHandleSlave::apply(void*, wsrep_cb_status (*)(void*, wsrep_ws_handle const*, unsigned int, wsrep_buf const*, wsrep_trx_meta const*, bool*), wsrep_trx_meta const&, bool&))[0x7fa73bbd0790]
src/replicator_smm.cpp:504(galera::ReplicatorSMM::apply_trx(void*, galera::TrxHandleSlave&))[0x7fa73bc08a5a]
src/replicator_smm.cpp:2145(galera::ReplicatorSMM::process_trx(void*, boost::shared_ptr<galera::TrxHandleSlave> const&))[0x7fa73bc0e651]
src/gcs_action_source.cpp:63(galera::GcsActionSource::process_writeset(void*, gcs_action const&, bool&))[0x7fa73bbe7939]
src/gcs_action_source.cpp:110(galera::GcsActionSource::dispatch(void*, gcs_action const&, bool&))[0x7fa73bbe7f7a]
src/gcs_action_source.cpp:29(galera::GcsActionSource::process(void*, bool&))[0x7fa73bbe81ae]
src/replicator_smm.cpp:390(galera::ReplicatorSMM::async_recv(void*))[0x7fa73bc0ec4b]
src/wsrep_provider.cpp:263(galera_recv)[0x7fa73bc21728]
2021-01-22  2:00:52 0 [Note] WSREP: (53ab8e76-bdc8, 'tcp://0.0.0.0:4567') reconnecting to d42494c3-9d96 (tcp://192.168.5.4:4567), attempt 0
/usr/sbin/mysqld(_ZN5wsrep18wsrep_provider_v2611run_applierEPNS_21high_priority_serviceE+0xe)[0x55808309313e]
src/wsrep_provider_v26.cpp:741(wsrep::wsrep_provider_v26::run_applier(wsrep::high_priority_service*))[0x5580829ebd32]
sql/wsrep_thd.cc:60(wsrep_replication_process(THD*, void*))[0x5580829dfdfd]
sql/wsrep_mysqld.cc:2798(start_wsrep_THD(void*))[0x558082f9661d]
/lib64/libpthread.so.0(+0x3000807aa1)[0x7fa795f6caa1]
/lib64/libc.so.6(clone+0x6d)[0x7fa794684c4d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fa6bf2a8a2b): delete from db_loader_session where end_ts <= '2020-10-24 00:00:00' LIMIT 50000 /* PROCESS(Sql Scheduler [Extensions] <sql-scheduler@cdev>, metadata_background|abandoned[1h]|time_to_live[4h]|maximum_reuse[15m])*/

Connection ID (thread ID): 48
Status: NOT_KILLED

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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on

The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /data/mysql
Core pattern: |/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e