1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

F #4809: Fix replica log for federation

This commit is contained in:
Ruben S. Montero 2017-06-27 11:04:52 +02:00
parent dbc47c9874
commit 192ce9db42
2 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,7 @@ void FedReplicaManager::replicate_failure(int zone_id, int last_zone)
if ( last_zone >= 0 )
{
zs->next = last_zone - 1;
zs->next = last_zone + 1;
}
}

View File

@ -535,7 +535,7 @@ void ZoneReplicateFedLog::request_execute(xmlrpc_c::paramList const& paramList,
NebulaLog::log("ReM", Log::ERROR, oss);
att.resp_msg = oss.str();
att.resp_id = index;
att.resp_id = -1;
failure_response(ACTION, att);
return;