From 4dd206b1b87fc73c853fde60ad9b21a1290b56b2 Mon Sep 17 00:00:00 2001 From: Meng Xu Date: Fri, 21 Feb 2020 15:59:57 -0800 Subject: [PATCH] FastRestore:Use new getBatchReplies that profile request latency --- fdbserver/RestoreCommon.actor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbserver/RestoreCommon.actor.h b/fdbserver/RestoreCommon.actor.h index f8597df6af..ac240de30d 100644 --- a/fdbserver/RestoreCommon.actor.h +++ b/fdbserver/RestoreCommon.actor.h @@ -389,7 +389,7 @@ Future sendBatchRequests(RequestStream Interface::*channel, std:: // Similar to sendBatchRequests except that the caller expect to process the reply. ACTOR template -Future getBatchRepliesV2(RequestStream Interface::*channel, std::map interfaces, +Future getBatchReplies(RequestStream Interface::*channel, std::map interfaces, std::vector> requests, std::vector* replies, TaskPriority taskID = TaskPriority::Low, bool trackRequestLatency = true) { if (requests.empty()) { @@ -492,7 +492,7 @@ Future getBatchRepliesV2(RequestStream Interface::*channel, std:: // Similar to sendBatchRequests except that the caller expect to process the reply. // This actor can be combined with sendBatchRequests(...) ACTOR template -Future getBatchReplies(RequestStream Interface::*channel, std::map interfaces, +Future getBatchRepliesToDelete(RequestStream Interface::*channel, std::map interfaces, std::vector> requests, std::vector* replies, TaskPriority taskID = TaskPriority::Low) {