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

Fixed dbsim SST issues.

This commit is contained in:
Teemu Ollakka
2018-07-02 19:17:38 +03:00
parent 635eaf4c29
commit 004244d203
2 changed files with 11 additions and 26 deletions

View File

@ -19,9 +19,9 @@ void db::simulator::run()
}
void db::simulator::sst(db::server& server,
const std::string& request,
const wsrep::gtid& gtid,
bool bypass)
const std::string& request,
const wsrep::gtid& gtid,
bool bypass)
{
size_t id;
std::istringstream is(request);
@ -37,7 +37,7 @@ void db::simulator::sst(db::server& server,
wsrep::log_info() << "SST " << server.server_state().id() << " -> " << id;
}
i->second->server_state().sst_transferred(gtid);
i->second->server_state().initialized();
// i->second->server_state().initialized();
// i->second->server_state().sst_received(gtid, 0);
server.server_state().sst_sent(gtid, 0);
}