mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Remove unnecessary log info during load segment (#33663)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
68c9e7db8c
commit
b69740c8f3
@ -103,7 +103,6 @@ DeserializeFileData(const std::shared_ptr<uint8_t[]> input_data,
|
||||
int64_t length) {
|
||||
auto binlog_reader = std::make_shared<BinlogReader>(input_data, length);
|
||||
auto medium_type = ReadMediumType(binlog_reader);
|
||||
auto start_deserialize = std::chrono::system_clock::now();
|
||||
std::unique_ptr<DataCodec> res;
|
||||
switch (medium_type) {
|
||||
case StorageType::Remote: {
|
||||
@ -118,12 +117,6 @@ DeserializeFileData(const std::shared_ptr<uint8_t[]> 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<std::chrono::milliseconds>(
|
||||
deserialize_duration)
|
||||
.count());
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user