1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-11-15 00:02:25 +03:00
Files
wsrep-lib/test/server_context_test.cpp
Teemu Ollakka 5a943b66a7 Fix assertion unallowed state transition: connected -> joined
When the donor lost its donor state during SST due to cluster
partitioning, the state was erranously changed to `s_joined`
in `start_sst()` and `sst_sent()`, which caused assertion failures
in state checking.

Fixed by changing state to `s_joined` only if donor is still in
`s_donor` state.
2023-02-28 12:13:00 +02:00

38 KiB