From 38edd7347c11cd691272a9052e77d4a4cf5ab075 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 18 Feb 2019 16:03:17 +0100 Subject: [PATCH] development: Fix compilation (cherry picked from commit 0b7401a1db1487f768673754451439a956c0e1da) --- src/raft/ReplicaThread.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raft/ReplicaThread.cc b/src/raft/ReplicaThread.cc index 3a7bf717b1..27413a01f4 100644 --- a/src/raft/ReplicaThread.cc +++ b/src/raft/ReplicaThread.cc @@ -96,9 +96,9 @@ void ReplicaThread::do_replication() if ( pthread_cond_timedwait(&cond, &mutex, &timeout) == ETIMEDOUT ) { - if ( _prending_requests == true ) + if ( _pending_requests == true ) { - NebulaLog::log("RCM", Log::WARN, "Replication timeout with pending requests"); + NebulaLog::log("RCM", Log::WARNING, "Replication timeout with pending requests"); } _pending_requests = retry_request || _pending_requests;