diff --git a/src/meta/processors/admin/HBProcessor.cpp b/src/meta/processors/admin/HBProcessor.cpp index 52802462447..67c34660984 100644 --- a/src/meta/processors/admin/HBProcessor.cpp +++ b/src/meta/processors/admin/HBProcessor.cpp @@ -50,9 +50,12 @@ void HBProcessor::process(const cpp2::HBReq& req) { auto partListVal = MetaKeyUtils::diskPartsVal(partList); std::string key = MetaKeyUtils::diskPartsKey(host, spaceId, path); std::vector data; - LOG(INFO) << "data.key: " << key << "value: " << partListVal; data.emplace_back(key, partListVal); - doPut(std::move(data)); + kvstore_->asyncMultiPut( + kDefaultSpaceId, + kDefaultPartId, + std::move(data), + [this](nebula::cpp2::ErrorCode code) { this->handleErrorCode(code); }); } } }