mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +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:
@ -536,6 +536,7 @@ void wsrep::server_state::sst_received(wsrep::client_service& cs,
|
|||||||
}
|
}
|
||||||
|
|
||||||
current_view_ = v;
|
current_view_ = v;
|
||||||
|
server_service_.log_view(NULL /* this view is stored already */, v);
|
||||||
|
|
||||||
if (provider().sst_received(gtid, error))
|
if (provider().sst_received(gtid, error))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user