1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Refs codership/wsrep-lib#18: Fixup to proper view from SST processing.

Added a call to log_view() to do the internal initializations that
need to be done on receiveing a new view. Note however that it is not
a view *event*. Here we only need to configure the application to
comply with a new state that it has received, so that it can go on
to apply replication events and catch up with the cluster.
This commit is contained in:
Alexey Yurchenko
2018-11-23 13:11:20 +02:00
parent a7a6441ee9
commit d95ec7ed99

View File

@ -536,6 +536,7 @@ void wsrep::server_state::sst_received(wsrep::client_service& cs,
}
current_view_ = v;
server_service_.log_view(NULL /* this view is stored already */, v);
if (provider().sst_received(gtid, error))
{