From f0068e334ac813849f3ae726ead457219fd93b2a Mon Sep 17 00:00:00 2001 From: "darion.yaphet" Date: Sun, 19 Dec 2021 22:01:37 +0800 Subject: [PATCH] Send HB to meta leader --- src/clients/meta/MetaClient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clients/meta/MetaClient.cpp b/src/clients/meta/MetaClient.cpp index 89d53914aa6..570ee709033 100644 --- a/src/clients/meta/MetaClient.cpp +++ b/src/clients/meta/MetaClient.cpp @@ -2451,7 +2451,8 @@ folly::Future> MetaClient::heartbeat() { metaServerVersion_ = resp.get_meta_version(); return resp.get_code() == nebula::cpp2::ErrorCode::SUCCEEDED; }, - std::move(promise)); + std::move(promise), + true); return future; }