Comment 2 for bug 1169329

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

https://gist.github.com/ronin13/3e944f259e7be2bb4d32

might fix it.

The fix takes into account

a) Slave SQL Skip counter

The reason why it was failing with SQL_SLAVE_SKIP_COUNTER was because:

in apply_event_and_update_pos the WSREP code was overwriting the reason with Log_event::EVENT_SKIP_IGNORE even when it was Log_event::EVENT_SKIP_COUNT.