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.
https:/ /gist.github. com/ronin13/ 3e944f259e7be2b b4d32
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.