From e6ddeb293269d6fb9621358039eb8c554b34bf43 Mon Sep 17 00:00:00 2001 From: yaphet <4414314+darionyaphet@users.noreply.github.com> Date: Mon, 20 Dec 2021 09:49:59 +0800 Subject: [PATCH] Send HB to meta leader (#3498) --- 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; }