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

Renamed client context m_applier to m_high_priority

This commit is contained in:
Teemu Ollakka
2018-06-16 15:08:31 +03:00
parent d12513303a
commit 47cb8e604c
9 changed files with 30 additions and 31 deletions

View File

@ -40,7 +40,7 @@ enum wsrep::provider::status
db::client_service::replay(wsrep::client_context&,
wsrep::transaction_context& transaction_context)
{
wsrep::client_applier_mode applier_mode(client_context_);
wsrep::high_priority_context high_priority_context(client_context_);
auto ret(provider_.replay(transaction_context.ws_handle(),
&client_context_));
if (ret == wsrep::provider::success)

View File

@ -26,7 +26,8 @@ void db::server::applier_thread()
{
wsrep::client_id client_id(last_client_id_.fetch_add(1) + 1);
db::client applier(*this, client_id,
wsrep::client_context::m_applier, simulator_.params());
wsrep::client_context::m_high_priority,
simulator_.params());
wsrep::client_context* cc(static_cast<wsrep::client_context*>(
&applier.client_context()));
enum wsrep::provider::status ret(