1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2026-10-23 09:48:57 +03:00
Files
Pekka Lampio 5b13b63c4f MDEV-35940 Unallowed state transition: donor -> synced in galera_wan
When the provider delivers the SYNCED event while the server is still
in donor state, on_sync() attempted a direct donor -> synced transition,
which is not allowed and aborts in a debug build. This happens when
SYNCED arrives before sst_sent() had a chance to return the server from
donor to joined.

Anticipate JOINED in on_sync() via return_from_donor_state() so the
transition goes donor -> joined -> synced, mirroring what the initial
sync branch already does.

Add a wsrep-lib unit test covering on_sync() in donor state.
2026-06-30 14:15:49 +03:00
..
2020-10-26 14:22:22 +01:00