1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #4809: Notify clients on majority replication

This commit is contained in:
Ruben S. Montero 2017-04-23 13:20:07 +02:00
parent 034e23166f
commit 0db5478bf3

View File

@ -359,6 +359,17 @@ void LogDBManager::ReplicaThread::do_replication()
follower->set_match(id);
zone->unlock();
LogDBRequest * lr = logdb->get_request(id);
if ( lr == 0 )
{
lr->lock();
lr->replicated();
lr->unlock();
}
}
else
{