mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +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
@ -61,7 +61,7 @@ namespace db
|
||||
|
||||
wsrep::default_mutex mutex_;
|
||||
const db::params& params_;
|
||||
std::map<wsrep::id, std::unique_ptr<db::server>> servers_;
|
||||
std::map<std::string, std::unique_ptr<db::server>> servers_;
|
||||
std::chrono::time_point<std::chrono::steady_clock> clients_start_;
|
||||
std::chrono::time_point<std::chrono::steady_clock> clients_stop_;
|
||||
public:
|
||||
|
Reference in New Issue
Block a user