during cluster startup, node asserts for: wsrep_last_committed <= 0
Bug #411814 reported by
Seppo Jaakola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Invalid
|
Low
|
Alex Yurchenko | ||
Trunk |
Invalid
|
Low
|
Alex Yurchenko |
Bug Description
If node has previous state stored in state file, it can happen that during the startup an assertion fails for wsrep_last_
This assertion is in: wsrep_mysqld.
Related branches
lp:~codership/codership-mysql/dev
(Merged)
To post a comment you must log in.
Here is the error log from crashing node:
090810 23:08:05 [Note] wsrep_load(): loading provider library '/home/galera/mysq 2859/galera/ lib/libmmgalera .so' c:mm_galera_ init(): 271: setting debug level log c:gu_conf_ debug_on( ):58: Turning debug on c:mm_galera_ init(): 290: Found stored state: 343 11b2-0800- 096518d1cdc0: 972 c:mm_galera_ init(): 301: Configured state: 343 11b2-0800- 096518d1cdc0: 972 create( ):135: Requesting recv queue len: c:gu_fifo_ create( ):103: Creating FIFO buff c:gu_conf_ set_log_ callback( ):122: Logging f c:gcs_core_ open(): 146: Initializing backe create( gcs_backend_ t*, 2.0.101: 26000' c:gcs_core_ set_pkt_ size(): 993: Changing m c:gcs_core_ set_pkt_ size(): 1004: Message p open(): 591: Opened channel 'my_wsrep_cluster' c:mm_galera_ connect( ):469: Successfully opened c:gcs_group_ handle_ comp_msg( ):243: New COMPONEN c:core_ handle_ comp_msg( ):612: STATE EXCHANGE: Wa c:core_ handle_ uuid_msg( ):689: STATE EXCHANGE: se 1dd2-11b2- 0800-ae8f50462c 88 c:gcs_group_ handle_ state_msg( ):404: STATE EXCHA 1dd2-11b2- 0800-ae8f50462c 88 from 0 (ardennes) c:group_ print_state_ debug() :386:
Configuration: 1 1dd2-11b2- 0800-ae8f50462c 88 1dd1-11b2- 0800-ec3172bd82 92
l-5.1.36-
090810 23:08:05 [Note] wsrep_load(): provider loaded succesfully.
090810 23:08:05 [Note] mm_galera.
ging
090810 23:08:05 [Note] DEBUG: gu_log.
090810 23:08:05 [Note] mm_galera.
3a26a-1dd2-
090810 23:08:05 [Note] mm_galera.
3a26a-1dd2-
090810 23:08:05 [Note] DEBUG: gcs.c:gcs_
600868
090810 23:08:05 [Note] DEBUG: gu_fifo.
er of 1048576 elements, memory min used: 4272, max used: 29364400
090810 23:08:05 [Note] DEBUG: gu_log.
unction changed by application
090810 23:08:05 [Note] DEBUG: gcs_core.
nd IO layer
090810 23:08:05 [Note] DEBUG: gcs_vs.cpp:long int gcs_vs_
const char*)():359: Opening connection to 'tcp:10.
Logger init: (stderr,2)
090810 23:08:05 [Note] DEBUG: gcs_core.
aximum message size 0 -> 1048576
090810 23:08:05 [Note] DEBUG: gcs_core.
ayload (action fragment size): 1048556
090810 23:08:05 [Note] gcs.c:gcs_
090810 23:08:05 [Note] mm_galera.
GCS connection to my_wsrep_cluster
090810 23:08:05 [Note] gcs_group.
T: primary = yes, my_id = 1, memb_num = 2
090810 23:08:05 [Note] gcs_core.
iting for state UUID.
090810 23:08:05 [Note] gcs_core.
nt state msg: 83cdebd2-
090810 23:08:05 [Note] gcs_group.
NGE: got state msg: 83cdebd2-
090810 23:08:05 [Note] DEBUG: gcs_group.
Protocols : 0 - 0
Status : Synced
Global seqno : 0
State UUID : 83cdebd2-
Group UUID : f556ad20-
Name : 'ardennes'
Incoming addr: '10.0.0.105:3306'
090810 23:08:05 [Note] gcs_group. c:gcs_group_ handle_ state_msg( ):404: STATE EXCHA 1dd2-11b2- 0800-ae8f50462c 88 from 1 (batak) c:group_ print_state_ debug() :386:
Configuration: -1 1dd2-11b2- 0800-ae8f50462c 88 1dd2-11b2- 0800-096518d1cd c0
NGE: got state msg: 83cdebd2-
090810 23:08:05 [Note] DEBUG: gcs_group.
Protocols : 0 - 0
Status : Non-primary
Global seqno : 972
State UUID : 83cdebd2-
Group UUID : 3433a26a-
Name : 'batak'
Incoming addr: '10.0.0.106:3306'
090810 23:08:05 [Note] DEBUG: gcs_group. c:group_ post_state_ exchange( ):184: STATE
EXCHANGE: 83cd...