mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Execution context switching for high priority service.
This commit is contained in:
@ -28,6 +28,8 @@ namespace db
|
||||
void after_apply() override;
|
||||
void store_globals() override { }
|
||||
void reset_globals() override { }
|
||||
void switch_execution_context(wsrep::high_priority_service&) override
|
||||
{ }
|
||||
int log_dummy_write_set(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&)
|
||||
{ return 0; }
|
||||
|
@ -25,7 +25,14 @@ void db::server_service::release_storage_service(
|
||||
delete storage_service;
|
||||
}
|
||||
|
||||
wsrep::high_priority_service* db::server_service::streaming_applier_service()
|
||||
wsrep::high_priority_service* db::server_service::streaming_applier_service(
|
||||
wsrep::client_service&)
|
||||
{
|
||||
return server_.streaming_applier_service();
|
||||
}
|
||||
|
||||
wsrep::high_priority_service* db::server_service::streaming_applier_service(
|
||||
wsrep::high_priority_service&)
|
||||
{
|
||||
return server_.streaming_applier_service();
|
||||
}
|
||||
|
@ -17,7 +17,8 @@ namespace db
|
||||
server_service(db::server& server);
|
||||
wsrep::storage_service* storage_service(wsrep::client_service&) override;
|
||||
void release_storage_service(wsrep::storage_service*) override;
|
||||
wsrep::high_priority_service* streaming_applier_service() override;
|
||||
wsrep::high_priority_service* streaming_applier_service(wsrep::client_service&) override;
|
||||
wsrep::high_priority_service* streaming_applier_service(wsrep::high_priority_service&) override;
|
||||
void release_high_priority_service(wsrep::high_priority_service*) override;
|
||||
|
||||
bool sst_before_init() const override;
|
||||
|
Reference in New Issue
Block a user