From d95ec7ed99572c91c71e96aeea421cf472da27ff Mon Sep 17 00:00:00 2001 From: Alexey Yurchenko Date: Fri, 23 Nov 2018 13:11:20 +0200 Subject: [PATCH] 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. --- src/server_state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server_state.cpp b/src/server_state.cpp index 3998d03..393c386 100644 --- a/src/server_state.cpp +++ b/src/server_state.cpp @@ -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)) {