Hi,
I'm wondering if this behaviour below is normal or not ? This occurs just after a node's restart :
node1 - which is receiver/recovering in this case :
...
120514 15:22:17 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 662842, file name /opt/mysql-galera/data/mysql-binary-log.000012
120514 15:22:18 InnoDB: Waiting for the background threads to start
120514 15:22:19 [Note] WSREP: Member 0 (vmfedora1) synced with group.
120514 15:22:19 InnoDB: 1.1.8 started; log sequence number 21283250872
120514 15:22:19 [Note] Event Scheduler: Loaded 0 events
120514 15:22:20 [Note] WSREP: Signalling provider to continue.
120514 15:22:20 [Note] WSREP: Received SST: 6cd33b89-9dc2-11e1-0800-c938ffc57dd8:58242
120514 15:22:20 [Note] /opt/mysql-galera/bin/mysqld: ready for connections.
Version: '5.5.23-log' socket: '/opt/mysql-galera/data/mysql.sock' port: 3306 Source distribution, wsrep_23.5.r3743
120514 15:22:20 [Note] WSREP: SST received: 6cd33b89-9dc2-11e1-0800-c938ffc57dd8:58242
120514 15:22:20 [Note] WSREP: 1 (
cygnus.lolomin.net): State transfer from 0 (vmfedora1) complete.
120514 15:22:20 [Note] WSREP: Shifting JOINER -> JOINED (TO: 61286)
120514 15:37:46 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 84744)
120514 15:37:46 [Note] WSREP: Synchronized with group, ready for connections
node3 - which is donor :
120514 15:20:47 [Note] WSREP: Flushing tables for SST...
120514 15:20:47 [Note] WSREP: Provider paused at 6cd33b89-9dc2-11e1-0800-c938ffc57dd8:58242
120514 15:20:47 [Note] WSREP: Tables flushed.
120514 15:22:07 [Note] WSREP: Provider resumed.
120514 15:22:07 [Note] WSREP: 0 (vmfedora1): State transfer to 1 (
cygnus.lolomin.net) complete.
120514 15:22:07 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 60917)
120514 15:22:19 [Note] WSREP: Member 0 (vmfedora1) synced with group.
120514 15:22:19 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 61251)
120514 15:22:19 [Note] WSREP: Synchronized with group, ready for connections
120514 15:22:20 [Note] WSREP: 1 (
cygnus.lolomin.net): State transfer from 0 (vmfedora1) complete.
120514 15:23:01 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows
: 1
120514 15:25:02 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows
: 1
120514 15:26:04 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows
: 1
120514 15:27:03 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
120514 15:30:02 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
120514 15:31:02 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
120514 15:35:00 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
120514 15:36:02 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
120514 15:37:02 [Warning] WSREP: empty rbr buffer, query: UPDATE `instance` SET `instance_name` = 'Nagios Cygnus' WHERE `instance_id` = '1' LIMIT 1, affected rows: 1
WSREP: BF lock wait long
WSREP: BF lock wait long
WSREP: BF lock wait long
WSREP: BF lock wait long
=====================================
120514 15:38:18 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 23 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 1963 1_second, 1955 sleeps, 196 10_second, 3 background, 3 flush
srv_master_thread log flush and writes: 1972
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 1846, signal count 1917
Mutex spin waits 8003, rounds 67248, OS waits 1211
RW-shared spins 302, rounds 7518, OS waits 237
RW-excl spins 570, rounds 13084, OS waits 257
Spin rounds per wait: 8.40 mutex, 24.89 RW-shared, 22.95 RW-excl
------------
TRANSACTIONS
------------
Trx id counter 19E249B0
Purge done for trx's n:o < 19E24648 undo n:o < 0
History list length 1829
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 19E246A1, ACTIVE 55 sec setting auto-inc lock
mysql tables in use 1, locked 1
LOCK WAIT 2 lock struct(s), heap size 320, 0 row lock(s), undo log entries 1
MySQL thread id 2, OS thread handle 0xaa849b40, query id 159485 Write_rows_log_event::write_row(84707)
------- TRX HAS BEEN WAITING 55 SEC FOR THIS LOCK TO BE GRANTED:
TABLE LOCK table `centstorage`.`log` trx id 19E246A1 lock mode AUTO-INC waiting
------------------
TABLE LOCK table `centstorage`.`log` trx id 19E246A1 lock mode IX
...
Why is the first node is taking more than 15 mins to go in state Synced ? (which make it unavailable for serving requests in my L/B system because I'm checking if node is in status Synced)
Why do I have a lot of BF Lock wait long messages and InnoDB informations after node1's resync which are appearing on node3's error log only ?
Thks !
Regards,
Laurent