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:
parent
034e23166f
commit
0db5478bf3
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user