Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

WSREP: Requesting state transfer failed: -11(Resource temporarily unavailable)

$
0
0

We have a 3 node Galera cluster. Only one node has "valid" data (gal-1).

The other nodes need to sync from this node.

I delete datadir and start MariaDB.

160527 14:28:20 [Note] WSREP: discarding pending addr without UUID: tcp://10.0.23.32:4567
160527 14:28:20 [Note] WSREP: gcomm: connected
160527 14:28:20 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
160527 14:28:20 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
160527 14:28:20 [Note] WSREP: Opened channel 'galera_cluster'
160527 14:28:20 [Note] WSREP: Waiting for SST to complete.
160527 14:28:20 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
160527 14:28:20 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 7f56dd82-2406-11e6-a6cd-5bf5aa177c36
160527 14:28:20 [Note] WSREP: STATE EXCHANGE: sent state msg: 7f56dd82-2406-11e6-a6cd-5bf5aa177c36
160527 14:28:20 [Note] WSREP: STATE EXCHANGE: got state msg: 7f56dd82-2406-11e6-a6cd-5bf5aa177c36 from 0 (gal-3)
160527 14:28:20 [Note] WSREP: STATE EXCHANGE: got state msg: 7f56dd82-2406-11e6-a6cd-5bf5aa177c36 from 1 (gal-1)
160527 14:28:20 [Note] WSREP: Quorum results:
        version    = 3,
        component  = PRIMARY,
        conf_id    = 3,
        members    = 1/2 (joined/total),
        act_id     = 70806062,
        last_appl. = -1,
        protocols  = 0/5/3 (gcs/repl/appl),
        group UUID = 7c5a3689-fccd-11e5-9960-a65e0f1c364a
160527 14:28:20 [Note] WSREP: Flow-control interval: [23, 23]
160527 14:28:20 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 70806062)
160527 14:28:20 [Note] WSREP: State transfer required:
        Group state: 7c5a3689-fccd-11e5-9960-a65e0f1c364a:70806062
        Local state: 00000000-0000-0000-0000-000000000000:-1
160527 14:28:20 [Note] WSREP: New cluster view: global state: 7c5a3689-fccd-11e5-9960-a65e0f1c364a:70806062, view# 4: Primary, number of nodes: 2, my index: 0, protocol version 3
160527 14:28:20 [Warning] WSREP: Gap in state sequence. Need state transfer.
160527 14:28:20 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '10.0.23.33' --auth 'sst_user:SSTP@ss' --datadir '/var/lib/mysql/data/' --defaults-file '/etc/my.cnf' --parent '27382''
160527 14:28:20 [Note] WSREP: Prepared SST request: rsync|192.168.44.32:4444/rsync_sst
160527 14:28:20 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
160527 14:28:20 [Note] WSREP: REPL Protocols: 5 (3, 1)
160527 14:28:20 [Note] WSREP: Service thread queue flushed.
160527 14:28:20 [Note] WSREP: Assign initial position for certification: 70806062, protocol version: 3
160527 14:28:20 [Note] WSREP: Service thread queue flushed.
160527 14:28:20 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (7c5a3689-fccd-11e5-9960-a65e0f1c364a): 1 (Operation not permitted)
         at galera/src/replicator_str.cpp:prepare_for_IST():447. IST will be unavailable.
160527 14:28:20 [Note] WSREP: Requesting state transfer failed: -11(Resource temporarily unavailable). Will keep retrying every 1 second(s)

I see this process running on Gal-1, even when there is no SST in progress

# ps -ef | grep rsync
mysql    15443  9051  0 14:22 ?        00:00:01 /bin/bash -ue /usr//bin/wsrep_sst_rsync --role donor --address 192.168.55.32:4444/rsync_sst --auth sst_user:SSTP@ss --socket /var/lib/mysql/mysql.sock --datadir /var/lib/mysql/data/ --defaults-file /etc/my.cnf --gtid 7c5a3689-fccd-11e5-9960-a65e0f1c364a:70806062

Howto solve [Note] WSREP: Requesting state transfer failed: -11(Resource temporarily unavailable). Will keep retrying every 1 second(s)

I need to sync the data to other 2 nodes.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>