Trigger replication when a follower is added to the zone

This commit is contained in:
Ruben S. Montero committed 2018-08-22 12:25:25 +02:00
1 parent a76f55d8e0
commit 69e9bbfc8a
1 file changed
+2
+2
View File
@@ -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);
};