2021-10-11 9:46:16 0 [ERROR] WSREP: Trx 20331735215 tries to abort slave trx 20331735216. This could be caused by: 1) unsupported configuration options combination, please check documentation. 2) a bug in the code. 3) a database corruption. Node consistency compromized, need to abort. Restart the node to resync with cluster. 211011 9:46:16 [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.3.31-MariaDB-0ubuntu0.20.04.1 key_buffer_size=33554432 read_buffer_size=131072 max_used_connections=120 max_threads=502 thread_count=132 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1136419 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0 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 = 0x0 thread_stack 0x49000 /usr/sbin/mysqld(my_print_stacktrace+0x32)[0x562a09592472] /usr/sbin/mysqld(handle_fatal_signal+0x55d)[0x562a0908846d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f6db29183c0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f6db275718b] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f6db2736859] /usr/sbin/mysqld(+0x96ec48)[0x562a09225c48] /usr/sbin/mysqld(+0x96f83a)[0x562a0922683a] /usr/sbin/mysqld(handle_manager+0x17e)[0x562a08e8f0fe] /usr/sbin/mysqld(+0xc62746)[0x562a09519746] /lib/x86_64-linux-gnu/libpthread.so.0(+0x9609)[0x7f6db290c609] /lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7f6db2833293] 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 Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 127272 127272 processes Max open files 65535 65535 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127272 127272 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-10-11 9:46:28 0 [Note] WSREP: Read nil XID from storage engines, skipping position init 2021-10-11 9:46:28 0 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib/galera/libgalera_smm.so' 2021-10-11 9:46:28 0 [Note] WSREP: wsrep_load(): Galera 25.3.29(r3902) by Codership Oy loaded successfully. 2021-10-11 9:46:28 0 [Note] WSREP: CRC-32C: using hardware acceleration. 2021-10-11 9:46:28 0 [Note] WSREP: Found saved state: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:-1, safe_to_bootstrap: 0 2021-10-11 9:46:28 0 [Note] WSREP: Passing config to GCS: base_dir = /data/mysql/; base_host = 192.168.230.101; base_port = 4567; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /data/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /data/mysql//galera.cache; gcache.page_size = 128M; gcache.recover = no; gcache.size = 4G; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S; pc.chec 2021-10-11 9:46:28 0 [Note] WSREP: GCache history reset: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:0 -> c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214 2021-10-11 9:46:28 0 [Note] WSREP: Assign initial position for certification: 20331735214, protocol version: -1 2021-10-11 9:46:28 0 [Note] WSREP: wsrep_sst_grab() 2021-10-11 9:46:28 0 [Note] WSREP: Start replication 2021-10-11 9:46:28 0 [Note] WSREP: Setting initial position to c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214 2021-10-11 9:46:28 0 [Note] WSREP: protonet asio version 0 2021-10-11 9:46:28 0 [Note] WSREP: Using CRC-32C for message checksums. 2021-10-11 9:46:28 0 [Note] WSREP: backend: asio 2021-10-11 9:46:28 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 2021-10-11 9:46:28 0 [Note] WSREP: restore pc from disk successfully 2021-10-11 9:46:28 0 [Note] WSREP: GMCast version 0 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') multicast: , ttl: 1 2021-10-11 9:46:28 0 [Note] WSREP: EVS version 0 2021-10-11 9:46:28 0 [Note] WSREP: gcomm: connecting to group 'prd-dbs-cluster01', peer '192.168.230.101:,192.168.230.102:,192.168.230.103:' 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') Found matching local endpoint for a connection, blacklisting address tcp://192.168.230.101:4567 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') connection established to 251eee04 tcp://192.168.230.103:4567 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 2021-10-11 9:46:28 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') connection established to 3a8632db tcp://192.168.230.102:4567 2021-10-11 9:46:28 0 [Note] WSREP: gcomm: connected 2021-10-11 9:46:28 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636 2021-10-11 9:46:28 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0) 2021-10-11 9:46:28 0 [Note] WSREP: Opened channel 'prd-dbs-cluster01' 2021-10-11 9:46:28 0 [Note] WSREP: Waiting for SST to complete. 2021-10-11 9:46:29 0 [Note] WSREP: declaring 251eee04 at tcp://192.168.230.103:4567 stable 2021-10-11 9:46:29 0 [Note] WSREP: declaring 3a8632db at tcp://192.168.230.102:4567 stable 2021-10-11 9:46:29 0 [Note] WSREP: Node 251eee04 state prim 2021-10-11 9:46:29 0 [Note] WSREP: view(view_id(PRIM,251eee04,282) memb { 251eee04,0 3a8632db,0 89e71c3e,0 } joined { } left { } partitioned { }) 2021-10-11 9:46:29 0 [Note] WSREP: save pc into disk 2021-10-11 9:46:29 0 [Note] WSREP: clear restored view 2021-10-11 9:46:29 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 2, memb_num = 3 2021-10-11 9:46:29 0 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID. 2021-10-11 9:46:29 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 1bdbeb16-2a78-11ec-800c-173a899522c9 2021-10-11 9:46:29 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1bdbeb16-2a78-11ec-800c-173a899522c9 from 0 (prd-mysql-ds01-n03) 2021-10-11 9:46:29 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1bdbeb16-2a78-11ec-800c-173a899522c9 from 1 (prd-mysql-ds01-n02) 2021-10-11 9:46:29 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1bdbeb16-2a78-11ec-800c-173a899522c9 from 2 (prd-mysql-ds01-n01) 2021-10-11 9:46:29 0 [Note] WSREP: Quorum results: version = 6, component = PRIMARY, conf_id = 277, members = 2/3 (joined/total), act_id = 20331736425, last_appl. = -1, protocols = 0/9/3 (gcs/repl/appl), group UUID = c20ae2ac-2934-11e4-bc5e-6f1b968daa60 2021-10-11 9:46:29 0 [Note] WSREP: Flow-control interval: [28, 28] 2021-10-11 9:46:29 0 [Note] WSREP: Trying to continue unpaused monitor 2021-10-11 9:46:29 0 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 20331736425) 2021-10-11 9:46:29 2 [Note] WSREP: State transfer required: Group state: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331736425 Local state: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214 2021-10-11 9:46:29 2 [Note] WSREP: New cluster view: global state: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331736425, view# 278: Primary, number of nodes: 3, my index: 2, protocol version 3 2021-10-11 9:46:29 2 [Warning] WSREP: Gap in state sequence. Need state transfer. 2021-10-11 9:46:29 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'joiner' --address '192.168.230.101' --datadir '/data/mysql/' --parent '32086' --mysqld-args --wsrep_start_position=c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214' WSREP_SST: [INFO] SSL configuration: CA='', CERT='', KEY='', MODE='DISABLED', encrypt='0' (20211011 09:46:29.508) WSREP_SST: [INFO] Streaming with mbstream (20211011 09:46:29.690) WSREP_SST: [INFO] Using socat as streamer (20211011 09:46:29.694) WSREP_SST: [INFO] Evaluating timeout -k 310 300 socat -u TCP-LISTEN:4444,reuseaddr stdio | '/usr//bin/mbstream' -x; RC=( ${PIPESTATUS[@]} ) (20211011 09:46:29.751) 2021-10-11 9:46:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. 2021-10-11 9:46:29 2 [Note] WSREP: REPL Protocols: 9 (4, 2) 2021-10-11 9:46:29 2 [Note] WSREP: Assign initial position for certification: 20331736425, protocol version: 4 2021-10-11 9:46:29 0 [Note] WSREP: Service thread queue flushed. 2021-10-11 9:46:29 2 [Note] WSREP: IST receiver addr using tcp://192.168.230.101:4568 2021-10-11 9:46:29 2 [Note] WSREP: Prepared IST receiver, listening at: tcp://192.168.230.101:4568 2021-10-11 9:46:29 0 [Note] WSREP: Member 2.0 (prd-mysql-ds01-n01) requested state transfer from '*any*'. Selected 0.0 (prd-mysql-ds01-n03)(SYNCED) as donor. 2021-10-11 9:46:29 0 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 20331736555) 2021-10-11 9:46:29 2 [Note] WSREP: Requesting state transfer: success, donor: 0 2021-10-11 9:46:29 2 [Note] WSREP: GCache history reset: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:0 -> c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331736425 2021-10-11 9:46:30 0 [Note] WSREP: 0.0 (prd-mysql-ds01-n03): State transfer to 2.0 (prd-mysql-ds01-n01) complete. WSREP_SST: [INFO] 'xtrabackup_ist' received from donor: Running IST (20211011 09:46:30.143) WSREP_SST: [INFO] Galera co-ords from recovery: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214 0 (20211011 09:46:30.145) 2021-10-11 9:46:30 0 [Note] WSREP: Member 0.0 (prd-mysql-ds01-n03) synced with group. WSREP_SST: [INFO] Total time on joiner: 0 seconds (20211011 09:46:30.147) WSREP_SST: [INFO] Removing the sst_in_progress file (20211011 09:46:30.149) WSREP_SST: [INFO] Cleaning up temporary directories (20211011 09:46:30.151) 2021-10-11 9:46:30 0 [Note] WSREP: SST complete, seqno: 20331735214 2021-10-11 9:46:30 0 [Note] Using unique option prefix 'myisam-recover' is error-prone and can break in the future. Please use the full name 'myisam-recover-options' instead. 2021-10-11 9:46:30 0 [Note] InnoDB: Using Linux native AIO 2021-10-11 9:46:30 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2021-10-11 9:46:30 0 [Note] InnoDB: Uses event mutexes 2021-10-11 9:46:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-10-11 9:46:30 0 [Note] InnoDB: Number of pools: 1 2021-10-11 9:46:30 0 [Note] InnoDB: Using SSE2 crc32 instructions 2021-10-11 9:46:30 0 [Note] InnoDB: Initializing buffer pool, total size = 10G, instances = 8, chunk size = 128M 2021-10-11 9:46:30 0 [Note] InnoDB: Completed initialization of buffer pool 2021-10-11 9:46:30 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-10-11 9:46:30 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 536870912 bytes 2021-10-11 9:46:31 0 [Note] InnoDB: Setting log file ./ib_logfile1 size to 536870912 bytes 2021-10-11 9:46:31 0 [Note] WSREP: (89e71c3e, 'tcp://0.0.0.0:4567') turning message relay requesting off 2021-10-11 9:46:32 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 2021-10-11 9:46:32 0 [Note] InnoDB: New log files created, LSN=90462649388604 2021-10-11 9:46:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2021-10-11 9:46:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-10-11 9:46:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-10-11 9:46:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-10-11 9:46:32 0 [Note] InnoDB: Waiting for purge to start 2021-10-11 9:46:32 0 [Note] InnoDB: 10.3.31 started; log sequence number 90462649389068; transaction id 87117134829 2021-10-11 9:46:32 0 [Note] InnoDB: Loading buffer pool(s) from /data/mysql/ib_buffer_pool 2021-10-11 9:46:32 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-10-11 9:46:32 0 [Note] Server socket created on IP: '0.0.0.0'. 2021-10-11 9:46:32 0 [Warning] 'user' entry 'root@prd-dbs01' ignored in --skip-name-resolve mode. 2021-10-11 9:46:32 0 [Warning] 'proxies_priv' entry '@% root@prd-dbs01' ignored in --skip-name-resolve mode. 2021-10-11 9:46:32 0 [Note] WSREP: Signalling provider to continue. 2021-10-11 9:46:32 0 [Note] WSREP: SST received: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331735214 2021-10-11 9:46:32 2 [Note] WSREP: Receiving IST: 1211 writesets, seqnos 20331735214-20331736425 2021-10-11 9:46:32 0 [Note] WSREP: Receiving IST... 0.0% ( 0/1211 events) complete. 2021-10-11 9:46:32 0 [Note] Reading of all Master_info entries succeeded 2021-10-11 9:46:32 0 [Note] Added new Master_info '' to hash table 2021-10-11 9:46:32 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.3.31-MariaDB-0ubuntu0.20.04.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Ubuntu 20.04 2021-10-11 9:46:33 0 [Note] WSREP: Receiving IST...100.0% (1211/1211 events) complete. 2021-10-11 9:46:33 2 [Note] WSREP: IST received: c20ae2ac-2934-11e4-bc5e-6f1b968daa60:20331736425 2021-10-11 9:46:33 0 [Note] WSREP: 2.0 (prd-mysql-ds01-n01): State transfer from 0.0 (prd-mysql-ds01-n03) complete. 2021-10-11 9:46:33 0 [Note] WSREP: Shifting JOINER -> JOINED (TO: 20331737130) 2021-10-11 9:46:33 0 [Note] WSREP: Member 2.0 (prd-mysql-ds01-n01) synced with group. 2021-10-11 9:46:33 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 20331737146) 2021-10-11 9:46:33 9 [Note] WSREP: Synchronized with group, ready for connections 2021-10-11 9:46:33 9 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.