mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Trigger replication when a follower is added to the zone
This commit is contained in:
1 parent
a76f55d8e0
commit
69e9bbfc8a
1 file changed
+2
@@ -329,6 +329,8 @@ void RaftManager::add_server(int follower_id, const std::string& endpoint)
|
||||
|
||||
heartbeat_manager.add_replica_thread(follower_id);
|
||||
|
||||
replica_manager.replicate(follower_id);
|
||||
|
||||
pthread_mutex_unlock(&mutex);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user