Skip to content

[Bug]: Non-candidate exits abnormally #27

@Xuquansheng

Description

@Xuquansheng

Preconditions

  • I searched existing issues to avoid duplicates.
  • I am using a supported version (see SECURITY.md).

Image and tag

galeriadb/11.8:latest

Orchestrator

docker compose

Host OS and Docker version

Ubuntu24.4, docker version 29.5.2

What happened?

I tried to run galeriadb/11.8:latest on tow hosts, but candidate exits abnormally.
below is message from candidate:
View:
db-1 | id: c4beda9c-5a58-11f1-889e-8788e3152347:5
db-1 | status: primary
db-1 | protocol_version: 4
db-1 | capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
db-1 | final: no
db-1 | own_index: 0
db-1 | members(2):
db-1 | 0: c4bcb702-5a58-11f1-9eaa-2eb69d9f9ab0, server1
db-1 | 1: ca035054-5a58-11f1-8ab5-0e75366a20ae, server2
db-1 | =================================================
db-1 | 2026-05-28 5:48:03 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
db-1 | 2026-05-28 5:48:03 1 [Note] WSREP: Lowest cert index boundary for CC from group: 2
db-1 | 2026-05-28 5:48:03 1 [Note] WSREP: Min available from gcache for CC from group: 1
db-1 | 2026-05-28 5:48:05 0 [Note] WSREP: (c4bcb702-9eaa, 'tcp://0.0.0.0:4567') turning message relay requesting off
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Member 1.0 (server2) requested state transfer from 'any'. Selected 0.0 (server1)(SYNCED) as donor.
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 5)
db-1 | 2026-05-28 5:48:23 1 [Note] WSREP: Detected STR version: 1, req_len: 118, req: STRv1
db-1 | 2026-05-28 5:48:23 1 [Note] WSREP: Cert index preload: 2 -> 5
db-1 | 2026-05-28 5:48:23 1 [Note] WSREP: Server status change synced -> donor
db-1 | 2026-05-28 5:48:23 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: async IST sender starting to serve tcp://192.168.64.132:4568 sending 2-5, preload starts from 2
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Donor monitor thread started to monitor
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Initiating SST/IST transfer on DONOR side (wsrep_sst_rsync --role 'donor' --address '192.168.64.132:4444/rsync_sst' --local-port 3306 --socket '/run/mysqld/mysqld.sock' --progress 0 --datadir '/var/lib/mysql/' --gtid 'c4beda9c-5a58-11f1-889e-8788e3152347:5' --gtid-domain-id 0 --mysqld-args --user=mysql --wsrep-new-cluster --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake)
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: IST sender 2 -> 5
db-1 | 2026-05-28 5:48:23 1 [Note] WSREP: sst_donor_thread signaled with 0
db-1 | WSREP_SST: [INFO] rsync SST started on donor (20260528 05:48:23.397)
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Flushing tables for SST...
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: pause
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Provider paused at c4beda9c-5a58-11f1-889e-8788e3152347:5 (8)
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Server paused at: 5
db-1 | 2026-05-28 5:48:23 0 [Note] InnoDB: Stopping purge
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Tables flushed.
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Donor state reached
db-1 | WSREP_SST: [INFO] Tables flushed (20260528 05:48:23.835)
db-1 | WSREP_SST: [INFO] Transfer of normal directories done (20260528 05:48:30.727)
db-1 | WSREP_SST: [INFO] Transfer of InnoDB data files done (20260528 05:48:38.172)
db-1 | WSREP_SST: [INFO] Transfer of InnoDB log files done (20260528 05:48:49.544)
db-1 | WSREP_SST: [INFO] Transfer of InnoDB undo logs done (20260528 05:48:55.565)
db-1 | WSREP_SST: [INFO] Transfer of Aria logs done (20260528 05:49:02.547)
db-1 | rsync: [sender] safe_read failed to read 1 bytes: Connection reset by peer (104)
db-1 | rsync error: error in rsync protocol data stream (code 12) at io.c(283) [sender=3.2.7]
db-1 | rsync: [sender] safe_read failed to read 1 bytes: Connection reset by peer (104)
db-1 | rsync error: error in rsync protocol data stream (code 12) at io.c(283) [sender=3.2.7]
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: async IST sender served
db-1 | rsync: [sender] failed to connect to 192.168.64.132 (192.168.64.132): Connection refused (111)
db-1 | rsync error: error in socket IO (code 10) at clientserver.c(139) [sender=3.2.7]
db-1 | WSREP_SST: [ERROR] find/rsync returned code 123: (20260528 05:49:03.299)
db-1 | WSREP_SST: [ERROR] Cleanup after exit with status: 255 (20260528 05:49:03.309)
db-1 | 2026-05-28 5:49:03 0 [ERROR] WSREP: Failed to read from: wsrep_sst_rsync --role 'donor' --address '192.168.64.132:4444/rsync_sst' --local-port 3306 --socket '/run/mysqld/mysqld.sock' --progress 0 --datadir '/var/lib/mysql/' --gtid 'c4beda9c-5a58-11f1-889e-8788e3152347:5' --gtid-domain-id 0 --mysqld-args --user=mysql --wsrep-new-cluster --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake
db-1 | 2026-05-28 5:49:03 0 [ERROR] WSREP: Process completed with error: wsrep_sst_rsync --role 'donor' --address '192.168.64.132:4444/rsync_sst' --local-port 3306 --socket '/run/mysqld/mysqld.sock' --progress 0 --datadir '/var/lib/mysql/' --gtid 'c4beda9c-5a58-11f1-889e-8788e3152347:5' --gtid-domain-id 0 --mysqld-args --user=mysql --wsrep-new-cluster --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake: 255 (Unknown error 255)
db-1 | 2026-05-28 5:49:03 0 [Note] InnoDB: Resuming purge
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: resume
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: resuming provider at 8
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: Provider resumed.
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: SST sending failed: -255
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: Server status change donor -> joined
db-1 | 2026-05-28 5:49:03 0 [ERROR] WSREP: Command did not run: wsrep_sst_rsync --role 'donor' --address '192.168.64.132:4444/rsync_sst' --local-port 3306 --socket '/run/mysqld/mysqld.sock' --progress 0 --datadir '/var/lib/mysql/' --gtid 'c4beda9c-5a58-11f1-889e-8788e3152347:5' --gtid-domain-id 0 --mysqld-args --user=mysql --wsrep-new-cluster --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: Cleaning up SST user.
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: Donor monitor thread ended with total time 40 sec
db-1 | 2026-05-28 5:49:03 0 [Note] WSREP: (c4bcb702-9eaa, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://192.168.64.132:4567
db-1 | 2026-05-28 5:49:04 0 [Note] WSREP: (c4bcb702-9eaa, 'tcp://0.0.0.0:4567') reconnecting to ca035054-8ab5 (tcp://192.168.64.132:4567), attempt 0
db-1 | 2026-05-28 5:49:04 0 [Note] WSREP: Failed to establish connection: Connection refused
db-1 | 2026-05-28 5:49:06 0 [Note] WSREP: Failed to establish connection: Connection refused
db-1 | 2026-05-28 5:49:07 0 [Note] WSREP: Failed to establish connection: Connection refused
db-1 | 2026-05-28 5:49:07 0 [Note] WSREP: evs::proto(c4bcb702-9eaa, OPERATIONAL, view_id(REG,c4bcb702-9eaa,2)) suspecting node: ca035054-8ab5
db-1 | 2026-05-28 5:49:07 0 [Note] WSREP: evs::proto(c4bcb702-9eaa, OPERATIONAL, view_id(REG,c4bcb702-9eaa,2)) suspected node without join message, declaring inactive
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: view(view_id(NON_PRIM,c4bcb702-9eaa,2) memb {
db-1 | c4bcb702-9eaa,0
db-1 | } joined {
db-1 | } left {
db-1 | } partitioned {
db-1 | ca035054-8ab5,0
db-1 | })
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: view(view_id(NON_PRIM,c4bcb702-9eaa,3) memb {
db-1 | c4bcb702-9eaa,0
db-1 | } joined {
db-1 | } left {
db-1 | } partitioned {
db-1 | ca035054-8ab5,0
db-1 | })
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: Flow-control interval: [16, 16]
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: Received NON-PRIMARY.
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: Shifting DONOR/DESYNCED -> OPEN (TO: 5)
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: JOIN message from member 0 in non-primary configuration. Ignored.
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: Flow-control interval: [16, 16]
db-1 | 2026-05-28 5:49:08 0 [Note] WSREP: Received NON-PRIMARY.
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: ================================================
db-1 | View:
db-1 | id: c4beda9c-5a58-11f1-889e-8788e3152347:5
db-1 | status: non-primary
db-1 | protocol_version: 4
db-1 | capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
db-1 | final: no
db-1 | own_index: 0
db-1 | members(1):
db-1 | 0: c4bcb702-5a58-11f1-9eaa-2eb69d9f9ab0, server1
db-1 | =================================================
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: Non-primary view
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: Server status change joined -> connected
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: ================================================
db-1 | View:
db-1 | id: c4beda9c-5a58-11f1-889e-8788e3152347:5
db-1 | status: non-primary
db-1 | protocol_version: 4
db-1 | capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
db-1 | final: no
db-1 | own_index: 0
db-1 | members(1):
db-1 | 0: c4bcb702-5a58-11f1-9eaa-2eb69d9f9ab0, server1
db-1 | =================================================
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: Non-primary view
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: Server status change connected -> connected
db-1 | 2026-05-28 5:49:08 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
db-1 | 2026-05-28 5:49:09 0 [Note] WSREP: Failed to establish connection: Connection refused
db-1 | 2026-05-28 5:49:10 0 [Note] WSREP: Failed to establish connection: Connection refused

=============================================================
below is message from non-candidate:
[2026-05-28T05:45:36+00:00] HOSTNAME=server2 peers=192.168.64.131,192.168.64.132 candidate=server1
db-1 | [2026-05-28T05:47:49+00:00] Discovery finished: synced_peer=none, resolved_ips=none
db-1 | [2026-05-28T05:47:59+00:00] No existing cluster detected. Not a candidate -> joining and waiting primary: gcomm://192.168.64.131:4567,192.168.64.132:4567?pc.wait_prim=yes
db-1 | [2026-05-28T05:47:59+00:00] ============ galera.cnf ============
db-1 | # MariaDB + Galera (variables substituted at runtime)
db-1 |
db-1 | [mysqld]
db-1 | bind_address=0.0.0.0
db-1 | skip_name_resolve=ON
db-1 | binlog_format=ROW
db-1 | default_storage_engine=InnoDB
db-1 | innodb_autoinc_lock_mode=2
db-1 |
db-1 | wsrep_on=ON
db-1 | wsrep_provider=/usr/lib/galera/libgalera_smm.so
db-1 | wsrep_cluster_name="db_cluster"
db-1 | wsrep_cluster_address="gcomm://192.168.64.131:4567,192.168.64.132:4567?pc.wait_prim=yes"
db-1 | wsrep_node_name="server2"
db-1 | wsrep_node_address="192.168.64.132"
db-1 | wsrep_sst_method=rsync
db-1 | wsrep_sst_receive_address="192.168.64.132"
db-1 | wsrep_provider_options="ist.recv_addr=192.168.64.132; gcache.size=256M"
db-1 | [2026-05-28T05:47:59+00:00] ====================================
db-1 | [2026-05-28T05:48:01+00:00] Healthcheck listener started on port 9200
db-1 | [2026-05-28T05:48:01+00:00] Starting as cluster member (join)...
db-1 | 2026-05-28 5:48:01 0 [Note] slave_connections_needed_for_purge changed to 0 because of Galera. Change it to 1 or higher if this Galera node is also Master in a normal replication setup
db-1 | 2026-05-28 5:48:01 0 [Note] Starting MariaDB 11.8.6-MariaDB-ubu2404 source revision 9bfea48ce1214cc4470f6f6f8a4e30352cef84e7 server_uid erOmTcMcuTaH1dbTVbT0O6E5Xs8= as process 295
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Loading provider /usr/lib/galera/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib/galera/libgalera_smm.so'
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: wsrep_load(): Galera 26.4.25(r7387a566) by Codership Oy info@codership.com loaded successfully.
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Initializing allowlist service v1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Initializing event service v1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Resolved symbol 'wsrep_node_isolation_mode_set_v1'
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Resolved symbol 'wsrep_certify_v1'
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
db-1 | 2026-05-28 5:48:01 0 [Warning] WSREP: Could not open state file for reading: '/var/lib/mysql//grastate.dat'
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: GCache DEBUG: opened preamble:
db-1 | Version: 0
db-1 | UUID: 00000000-0000-0000-0000-000000000000
db-1 | Seqno: -1 - -1
db-1 | Offset: -1
db-1 | Synced: 0
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Passing config to GCS: base_dir = /var/lib/mysql/; base_host = 192.168.64.132; base_port = 4567; cert.log_conflicts = no; cert.optimistic_pa = yes; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = PT1S; evs.debug_log_mask = 0x1; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.info_log_mask = 0; evs.join_retrans_period = PT1S; evs.keepalive_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.use_aggregate = true; evs.user_send_window = 2; evs.version = 1; evs.view_forget_timeout = PT24H; gcache.dir = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.keep_plaintext_size = 128M; gcache.mem_size = 0; gcache.name = galera.cache; gcache.page_size = 128M; gcache.recover = yes; gcache.size = 256M; gcomm.thread_prio = ; gcs.check_appl_proto = 1; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.fc_singl
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Start replication
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Connecting with bootstrap option: 0
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: protonet asio version 0
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: Using CRC-32C for message checksums.
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: backend: asio
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: access file(/var/lib/mysql//gvwstate.dat) failed(No such file or directory)
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: restore pc from disk failed
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: gcomm thread scheduling priority set to other:0
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: GMCast version 0
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: (ca035054-8ab5, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: (ca035054-8ab5, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: EVS version 1
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: gcomm: connecting to group 'db_cluster', peer '192.168.64.131:4567,192.168.64.132:4567'
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: (ca035054-8ab5, 'tcp://0.0.0.0:4567') Found matching local endpoint for a connection, blacklisting address tcp://192.168.64.132:4567
db-1 | 2026-05-28 5:48:01 0 [Note] WSREP: (ca035054-8ab5, 'tcp://0.0.0.0:4567') connection established to c4bcb702-9eaa tcp://192.168.64.131:4567
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: EVS version upgrade 0 -> 1
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: declaring c4bcb702-9eaa at tcp://192.168.64.131:4567 stable
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: PC protocol upgrade 0 -> 1
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Node c4bcb702-9eaa state prim
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: view(view_id(PRIM,c4bcb702-9eaa,2) memb {
db-1 | c4bcb702-9eaa,0
db-1 | ca035054-8ab5,0
db-1 | } joined {
db-1 | } left {
db-1 | } partitioned {
db-1 | })
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: save pc into disk
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: gcomm: connected
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Opened channel 'db_cluster'
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Initializing config service v1
db-1 | 2026-05-28 5:48:02 1 [Note] WSREP: Starting rollbacker thread 1
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Deinitializing config service v1
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Starting applier thread 2
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 1, memb_num = 2
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID.
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: STATE EXCHANGE: sent state msg: ca73e403-5a58-11f1-97ad-3ada429095ed
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: STATE EXCHANGE: got state msg: ca73e403-5a58-11f1-97ad-3ada429095ed from 0 (server1)
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: STATE EXCHANGE: got state msg: ca73e403-5a58-11f1-97ad-3ada429095ed from 1 (server2)
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Quorum results:
db-1 | version = 6,
db-1 | component = PRIMARY,
db-1 | conf_id = 1,
db-1 | members = 1/2 (joined/total),
db-1 | act_id = 4,
db-1 | last_appl. = 0,
db-1 | protocols = 6/11/4 (gcs/repl/appl),
db-1 | vote policy= 0,
db-1 | group UUID = c4beda9c-5a58-11f1-889e-8788e3152347
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Flow-control interval: [23, 23]
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 5)
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: ####### processing CC 5, local, ordered
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Process first view: c4beda9c-5a58-11f1-889e-8788e3152347 my uuid: ca035054-5a58-11f1-8ab5-0e75366a20ae
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Server server2 connected to cluster at position c4beda9c-5a58-11f1-889e-8788e3152347:5 with ID ca035054-5a58-11f1-8ab5-0e75366a20ae
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Server status change disconnected -> connected
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: ####### My UUID: ca035054-5a58-11f1-8ab5-0e75366a20ae
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 11), state transfer needed: yes
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Service thread queue flushed.
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: State transfer required:
db-1 | Group state: c4beda9c-5a58-11f1-889e-8788e3152347:5
db-1 | Local state: 00000000-0000-0000-0000-000000000000:-1
db-1 | 2026-05-28 5:48:02 2 [Note] WSREP: Server status change connected -> joiner
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '192.168.64.132' --datadir '/var/lib/mysql/' --parent 295 --progress 0 --mysqld-args --user=mysql --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake'
db-1 | 2026-05-28 5:48:02 0 [Note] WSREP: Joiner monitor thread started to monitor
db-1 | WSREP_SST: [INFO] rsync SST started on joiner (20260528 05:48:02.980)
db-1 | WSREP_SST: [INFO] 'ss' is selected as a socket information utility. (20260528 05:48:03.237)
db-1 | 2026-05-28 5:48:05 0 [Note] WSREP: (ca035054-8ab5, 'tcp://0.0.0.0:4567') turning message relay requesting off
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: ####### IST uuid:00000000-0000-0000-0000-000000000000 f: 0, l: 5, STRv: 3
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: IST receiver addr using tcp://192.168.64.132:4568
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: Prepared IST receiver for 0-5, listening at: tcp://192.168.64.132:4568
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Member 1.0 (server2) requested state transfer from 'any'. Selected 0.0 (server1)(SYNCED) as donor.
db-1 | 2026-05-28 5:48:23 0 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 5)
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: Requesting state transfer: success, donor: 0
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: Resetting GCache seqno map due to different histories.
db-1 | 2026-05-28 5:48:23 2 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> c4beda9c-5a58-11f1-889e-8788e3152347:5
db-1 | [2026-05-28T05:49:03+00:00] MariaDB did not become ready in time
db-1 exited with code 1

Steps to reproduce

Here is my docker-compose.yml
on 192.168.64.131
root@server1:~/galeradb# more docker-compose.yml
services:
db:
image: galeriadb/11.8:latest
network_mode: host
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --skip-character-set-client-handshake
environment:
GALERIA_ROOT_PASSWORD: secret
GALERIA_PEERS: 192.168.64.131,192.168.64.132
GALERIA_CLUSTER_NAME: db_cluster
GALERIA_BOOTSTRAP_CANDIDATE: server1
GALERIA_DISCOVERY_TIMEOUT: 120
volumes:
- db-data:/var/lib/mysql

volumes:
db-data:

on 192.168.64.132
root@server2:~/galeradb# more docker-compose.yml
services:
db:
image: galeriadb/11.8:latest
network_mode: host
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --skip-character-set-client-handshake
environment:
GALERIA_ROOT_PASSWORD: secret
GALERIA_PEERS: 192.168.64.131,192.168.64.132
GALERIA_CLUSTER_NAME: db_cluster
GALERIA_BOOTSTRAP_CANDIDATE: server1
GALERIA_DISCOVERY_TIMEOUT: 120
GALERIA_JOIN_PRIMARY_TIMEOUT: 120
volumes:
- db-data:/var/lib/mysql

volumes:
db-data:

Expected behavior

non-candidate is working with candidate

Actual behavior

non-candidate exits abnormally

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions