mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-02 05:22:26 +03:00
codership/wsrep-lib#13 Fix dbsim to deal with provider generated server id
Dbsim has internal map of server objects for SST simulation. This was mapped using server_id, which is not available anymore when server object is constructed. Changed the dbsim to use server name instead for internal mapping.
This commit is contained in:
committed by
Alexey Yurchenko
parent
ea9971d54b
commit
c7e8bfbdb5
@ -72,9 +72,9 @@ bool db::server_service::sst_before_init() const
|
||||
std::string db::server_service::sst_request()
|
||||
{
|
||||
std::ostringstream os;
|
||||
os << server_.server_state().id();
|
||||
os << server_.server_state().name();
|
||||
wsrep::log_info() << "SST request: "
|
||||
<< server_.server_state().id();
|
||||
<< server_.server_state().name();
|
||||
|
||||
return os.str();
|
||||
}
|
||||
|
Reference in New Issue
Block a user