mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
1 parent
69e9bbfc8a
commit
f7f14f304c
1 file changed
+7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user