# cat /var/log/mariadb/mariadb.log
wsrep loader: [INFO] wsrep_load(): loading provider library 'none'
2019-12-05  3:07:11 0 [Note] WSREP: Loading provider /usr/lib64/galera/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
wsrep loader: [INFO] wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
wsrep loader: [INFO] wsrep_load(): Galera 4.3(rXXXX) by Codership Oy <info@codership.com> loaded successfully.
2019-12-05  3:07:11 0 [Note] WSREP: CRC-32C: using hardware acceleration.
2019-12-05  3:07:11 0 [Warning] WSREP: Could not open state file for reading: '/var/lib/mysql//grastate.dat'
2019-12-05  3:07:11 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
2019-12-05  3:07:11 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 0
UUID: 00000000-0000-0000-0000-000000000000
Seqno: -1 - -1
Offset: -1
Synced: 0
2019-12-05  3:07:11 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
2019-12-05  3:07:11 0 [Note] WSREP: Passing config to GCS: base_dir = /var/lib/mysql/; base_host = 10.0.138.220; 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 = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = galera.cache; gcache.page_size = 128M; gcache.recover = yes; gcache.size = 128M; 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.checksum = 
2019-12-05  3:07:11 0 [Note] WSREP: Start replication
2019-12-05  3:07:11 0 [Note] WSREP: Connecting with bootstrap option: 1
2019-12-05  3:07:11 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2019-12-05  3:07:11 0 [Note] WSREP: protonet asio version 0
2019-12-05  3:07:11 0 [Note] WSREP: Using CRC-32C for message checksums.
2019-12-05  3:07:11 0 [Note] WSREP: backend: asio
2019-12-05  3:07:11 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2019-12-05  3:07:11 0 [Warning] WSREP: access file(/var/lib/mysql//gvwstate.dat) failed(No such file or directory)
2019-12-05  3:07:11 0 [Note] WSREP: restore pc from disk failed
2019-12-05  3:07:11 0 [Note] WSREP: GMCast version 0
2019-12-05  3:07:11 0 [Note] WSREP: (3d972e00, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2019-12-05  3:07:11 0 [Note] WSREP: (3d972e00, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2019-12-05  3:07:11 0 [Note] WSREP: EVS version 1
2019-12-05  3:07:11 0 [Note] WSREP: gcomm: bootstrapping new group 'my_wsrep_cluster'
2019-12-05  3:07:11 0 [Note] WSREP: start_prim is enabled, turn off pc_recovery
2019-12-05  3:07:11 0 [Note] WSREP: EVS version upgrade 0 -> 1
2019-12-05  3:07:11 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2019-12-05  3:07:11 0 [Note] WSREP: Node 3d972e00 state prim
2019-12-05  3:07:11 0 [Note] WSREP: view(view_id(PRIM,3d972e00,1) memb {
	3d972e00,0
} joined {
} left {
} partitioned {
})
2019-12-05  3:07:11 0 [Note] WSREP: save pc into disk
2019-12-05  3:07:11 0 [Note] WSREP: gcomm: connected
2019-12-05  3:07:11 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2019-12-05  3:07:11 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2019-12-05  3:07:11 0 [Note] WSREP: Opened channel 'my_wsrep_cluster'
2019-12-05  3:07:11 1 [Note] WSREP: Starting applier thread 1
2019-12-05  3:07:11 2 [Note] WSREP: Starting rollbacker thread 2
2019-12-05  3:07:11 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
2019-12-05  3:07:11 0 [Note] WSREP: Starting new group from scratch: 3dabd87c-1736-11ea-b6a6-0ac1c9d98732
2019-12-05  3:07:11 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 3dabda09-1736-11ea-b268-1ef02ef59556
2019-12-05  3:07:11 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 3dabda09-1736-11ea-b268-1ef02ef59556
2019-12-05  3:07:11 0 [Note] WSREP: STATE EXCHANGE: got state msg: 3dabda09-1736-11ea-b268-1ef02ef59556 from 0 (host-10-0-138-220)
2019-12-05  3:07:11 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 0,
	members    = 1/1 (joined/total),
	act_id     = 0,
	last_appl. = 0,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = 3dabd87c-1736-11ea-b6a6-0ac1c9d98732
2019-12-05  3:07:11 0 [Note] WSREP: Flow-control interval: [16, 16]
2019-12-05  3:07:11 0 [Note] WSREP: Restored state OPEN -> JOINED (1)
2019-12-05  3:07:11 0 [Note] WSREP: Member 0.0 (host-10-0-138-220) synced with group.
2019-12-05  3:07:11 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 1)
2019-12-05  3:07:11 1 [Note] WSREP: ####### processing CC 1, local, ordered
2019-12-05  3:07:11 1 [Note] WSREP: REPL Protocols: 10 (5, 3)
2019-12-05  3:07:11 1 [Note] WSREP: ####### My UUID: 3d972e00-1736-11ea-9875-a26fbccd6757
2019-12-05  3:07:11 1 [Note] WSREP: Server host-10-0-138-220 connected to cluster at position 3dabd87c-1736-11ea-b6a6-0ac1c9d98732:1 with ID 3d972e00-1736-11ea-9875-a26fbccd6757
2019-12-05  3:07:11 1 [Note] WSREP: Server status change disconnected -> connected
2019-12-05  3:07:11 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:11 1 [Note] WSREP: ####### ST not required
2019-12-05  3:07:11 1 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: no
2019-12-05  3:07:11 0 [Note] WSREP: Service thread queue flushed.
2019-12-05  3:07:11 1 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: 5
2019-12-05  3:07:11 1 [Note] WSREP: ####### Adjusting cert position: -1 -> 1
2019-12-05  3:07:11 0 [Note] WSREP: Service thread queue flushed.
2019-12-05  3:07:11 1 [Note] WSREP: ####### Setting monitor position to 1
2019-12-05  3:07:11 1 [Note] WSREP: Lowest cert indnex boundary for CC from group: 1
2019-12-05  3:07:11 1 [Note] WSREP: Min available from gcache for CC from group: 1
2019-12-05  3:07:11 1 [Note] WSREP: ================================================
View:
  id: 3dabd87c-1736-11ea-b6a6-0ac1c9d98732:1
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(1):
	0: 3d972e00-1736-11ea-9875-a26fbccd6757, host-10-0-138-220
=================================================
2019-12-05  3:07:11 1 [Note] WSREP: Server status change connected -> joiner
2019-12-05  3:07:11 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:11 1 [Note] WSREP: Server status change joiner -> initializing
2019-12-05  3:07:11 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:11 0 [Note] InnoDB: Using Linux native AIO
2019-12-05  3:07:11 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-12-05  3:07:11 0 [Note] InnoDB: Uses event mutexes
2019-12-05  3:07:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-12-05  3:07:11 0 [Note] InnoDB: Number of pools: 1
2019-12-05  3:07:11 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-12-05  3:07:11 0 [Note] mysqld: O_TMPFILE is not supported on /var/tmp (disabling future attempts)
2019-12-05  3:07:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-12-05  3:07:11 0 [Note] InnoDB: Completed initialization of buffer pool
2019-12-05  3:07:11 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-12-05  3:07:11 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-12-05  3:07:11 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-12-05  3:07:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-12-05  3:07:11 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-12-05  3:07:11 0 [Note] InnoDB: Waiting for purge to start
2019-12-05  3:07:11 0 [Note] InnoDB: 10.4.10 started; log sequence number 139827; transaction id 21
2019-12-05  3:07:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-12-05  3:07:11 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-12-05  3:07:12 0 [Note] InnoDB: Buffer pool(s) load completed at 191205  3:07:12
2019-12-05  3:07:12 0 [Note] Server socket created on IP: '0.0.0.0'.
2019-12-05  3:07:12 0 [Note] WSREP: wsrep_init_schema_and_SR (nil)
2019-12-05  3:07:12 0 [Note] WSREP: Server initialized
2019-12-05  3:07:12 0 [Note] WSREP: Server status change initializing -> initialized
2019-12-05  3:07:12 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:12 1 [Note] WSREP: Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2019-12-05  3:07:12 9 [Note] WSREP: Cluster table is empty, not recovering transactions
2019-12-05  3:07:12 1 [Note] WSREP: Server status change initialized -> joined
2019-12-05  3:07:12 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:12 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:07:12 0 [Note] Reading of all Master_info entries succeeded
2019-12-05  3:07:12 0 [Note] Added new Master_info '' to hash table
2019-12-05  3:07:12 0 [Note] /usr/libexec/mysqld: ready for connections.
Version: '10.4.10-MariaDB'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Server
2019-12-05  3:07:12 1 [Note] WSREP: Server host-10-0-138-220 synced with group
2019-12-05  3:07:12 1 [Note] WSREP: Server status change joined -> synced
2019-12-05  3:07:12 1 [Note] WSREP: Synchronized with group, ready for connections
2019-12-05  3:07:12 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2019-12-05  3:17:21 0 [Warning] WSREP: last inactive check more than PT1.5S ago (PT2M22.7763S), skipping check
2019-12-05  3:19:14 0 [Warning] WSREP: last inactive check more than PT1.5S ago (PT1M26.6148S), skipping check
2019-12-05  3:19:59 0 [Warning] WSREP: last inactive check more than PT1.5S ago (PT45.1401S), skipping check
191205  3:19:59 [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.10-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=1
max_threads=153
thread_count=9
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467741 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fb7ac01a818
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...
2019-12-05  3:20:49 0 [Warning] WSREP: last inactive check more than PT1.5S ago (PT50.0407S), skipping check
stack_bottom = 0x7fb7b421fdd8 thread_stack 0x49000
/usr/libexec/mysqld(my_print_stacktrace+0x32)[0x55aaf0320092]
/usr/libexec/mysqld(handle_fatal_signal+0x55d)[0x55aaefd9d43d]
sigaction.c:0(__restore_rt)[0x7fb7c7689b20]
linux/raise.c:51(__GI_raise)[0x7fb7c6d74625]
stdlib/abort.c:81(__GI_abort)[0x7fb7c6d5d8d9]
/usr/libexec/mysqld(+0x5d09f6)[0x55aaefab99f6]
/usr/libexec/mysqld(+0xeb28f7)[0x55aaf039b8f7]
/usr/libexec/mysqld(_ZN5wsrep12client_state15leave_toi_localERKNS_14mutable_bufferE+0x37)[0x55aaf0382d97]
/usr/libexec/mysqld(+0x818037)[0x55aaefd01037]
/usr/libexec/mysqld(_Z22wsrep_to_isolation_endP3THD+0x22)[0x55aaefd03a32]
/usr/libexec/mysqld(_Z21mysql_execute_commandP3THD+0xecc)[0x55aaefb7673c]
/usr/libexec/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x276)[0x55aaefb7edd6]
/usr/libexec/mysqld(+0x696763)[0x55aaefb7f763]
/usr/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x2fb1)[0x55aaefb831c1]
/usr/libexec/mysqld(_Z10do_commandP3THD+0x166)[0x55aaefb83c96]
/usr/libexec/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x22e)[0x55aaefc72a6e]
/usr/libexec/mysqld(handle_one_connection+0x3f)[0x55aaefc72b8f]

