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

Added debug info

(cherry picked from commit 39fd0ddd100c58403f26db64d236f6d9c9d8145f)
This commit is contained in:
Ruben S. Montero 2018-08-20 18:52:15 +02:00
parent 6f85151d87
commit 29602df675

View File

@ -200,6 +200,13 @@ int RaftReplicaThread::replicate()
if ( raftm->xmlrpc_replicate_log(follower_id, &lr, success, follower_term,
error) != 0 )
{
std::ostringstream oss;
oss << "Faild to replicate log record at index: " << next_index
<< " on follower: " << follower_id << ", error: " << error;
NebulaLog::log("RCM", Log::DEBUG, oss);
return -1;
}