mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Added debug info
This commit is contained in:
1 parent
5fc8112d7e
commit
39fd0ddd10
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