From b69740c8f32edcde7222ae7e07e4d4eb82fac4ee Mon Sep 17 00:00:00 2001 From: wei liu Date: Thu, 6 Jun 2024 14:13:50 +0800 Subject: [PATCH] enhance: Remove unnecessary log info during load segment (#33663) Signed-off-by: Wei Liu --- internal/core/src/storage/DataCodec.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/core/src/storage/DataCodec.cpp b/internal/core/src/storage/DataCodec.cpp index 0f1ac4c1e1..3d596afec3 100644 --- a/internal/core/src/storage/DataCodec.cpp +++ b/internal/core/src/storage/DataCodec.cpp @@ -103,7 +103,6 @@ DeserializeFileData(const std::shared_ptr input_data, int64_t length) { auto binlog_reader = std::make_shared(input_data, length); auto medium_type = ReadMediumType(binlog_reader); - auto start_deserialize = std::chrono::system_clock::now(); std::unique_ptr res; switch (medium_type) { case StorageType::Remote: { @@ -118,12 +117,6 @@ DeserializeFileData(const std::shared_ptr input_data, PanicInfo(DataFormatBroken, fmt::format("unsupported medium type {}", medium_type)); } - auto deserialize_duration = - std::chrono::system_clock::now() - start_deserialize; - LOG_INFO("DeserializeFileData_deserialize_duration_ms:{}", - std::chrono::duration_cast( - deserialize_duration) - .count()); return res; }