mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
Made client_service, transaction independent of provider.
Provider may not be loaded when client_service and transaction are constructed.
This commit is contained in:
@ -38,8 +38,9 @@ enum wsrep::provider::status
|
||||
db::client_service::replay()
|
||||
{
|
||||
wsrep::high_priority_context high_priority_context(client_state_);
|
||||
auto ret(provider_.replay(client_state_.transaction().ws_handle(),
|
||||
&client_state_));
|
||||
auto ret(client_state_.provider().replay(
|
||||
client_state_.transaction().ws_handle(),
|
||||
&client_state_));
|
||||
if (ret == wsrep::provider::success)
|
||||
{
|
||||
++client_state_.client()->stats_.replays;
|
||||
|
Reference in New Issue
Block a user