mirror of https://github.com/milvus-io/milvus.git
enhance: Remove unnecessary log info during load segment (#33663)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/33675/head
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…
Reference in New Issue