mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-03 16:22:35 +03:00
codership/wsrep-lib#54 Service call to recover streaming appliers
Introduced server_service recover_streaming_appliers() interface call which will be called in total order whenever streaming appliers must be recovered. The call comes with two overloads, one which can be called from client context (e.g. after SST has been received) and the other from high priority context (e.g. view event handling). The client context overload should be eventually be deprecated once there is a mechanism to make provider signal that it has joined to the cluster and will start applying events.
This commit is contained in:
@ -112,6 +112,17 @@ void db::server_service::log_view(wsrep::high_priority_service*,
|
||||
wsrep::log_info() << "View:\n" << v;
|
||||
logged_view_ = v;
|
||||
}
|
||||
|
||||
void db::server_service::recover_streaming_appliers(
|
||||
wsrep::client_service&)
|
||||
{
|
||||
}
|
||||
|
||||
void db::server_service::recover_streaming_appliers(
|
||||
wsrep::high_priority_service&)
|
||||
{
|
||||
}
|
||||
|
||||
wsrep::view db::server_service::get_view(wsrep::client_service&,
|
||||
const wsrep::id& own_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user