1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +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:
Teemu Ollakka
2019-01-25 13:44:25 +02:00
parent fc5f59d27e
commit 9a32c72b48
3 changed files with 19 additions and 5 deletions

View File

@ -108,5 +108,5 @@ int db::high_priority_service::log_dummy_write_set(
bool db::high_priority_service::is_replaying() const
{
return (client_.client_state_.transaction().state() == wsrep::transaction::s_replaying);
return false;
}