• aelkin/elkin@dsl-hkigw8-feaef900-46.dhcp.inet.fi's avatar
    Bug#16228/Bug#20697 - related. · 8823b832
    Bug#23831  deadlock not noticed
    
    RBR bug in that when replicated msta (multi-statement-trans-action) deadlocks
    with a local at write row event or gets timed-out, the event handler did not return
    the correct error code.
    Wrong error code stops slave sql thread instead of to proceed with
    rollback and replay.
    
    The correct code is typed in error log and stored for error handling rotine
    to conduct rollback and replay of the transaction. The handling for the rbr
    remains the same as for the sbr events.
    Particularly, timed-out transaction still is rolled back - look at the related bugs.
    8823b832
rpl_deadlock_innodb.result 3.61 KB