mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
Fixed dbsim replaying to conform current implementation
Inherited db::replayer_service from db::high_priority_service and overrode after_apply() and is_replaying() methods to match current state of library implementation. Changed db::client_service::replay() to use db::replayer_service instead of db::high_priority_service().
This commit is contained in:
@ -41,11 +41,11 @@ enum wsrep::provider::status
|
||||
db::client_service::replay()
|
||||
{
|
||||
wsrep::high_priority_context high_priority_context(client_state_);
|
||||
db::high_priority_service high_priority_service(
|
||||
db::replayer_service replayer_service(
|
||||
client_.server_, client_);
|
||||
auto ret(client_state_.provider().replay(
|
||||
client_state_.transaction().ws_handle(),
|
||||
&high_priority_service));
|
||||
&replayer_service));
|
||||
if (ret == wsrep::provider::success)
|
||||
{
|
||||
++client_.stats_.replays;
|
||||
|
Reference in New Issue
Block a user