From 6ba47a568cdbe8fce8fbe84dab45a73798c6cd71 Mon Sep 17 00:00:00 2001 From: Xin Liao Date: Sun, 4 Aug 2024 10:43:25 +0800 Subject: [PATCH] [Fix](load) The value of the index id printed in the log is incorrect (#38790) --- be/src/runtime/tablets_channel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/be/src/runtime/tablets_channel.cpp b/be/src/runtime/tablets_channel.cpp index 266d4d45f184ae..06bd73a3b200ce 100644 --- a/be/src/runtime/tablets_channel.cpp +++ b/be/src/runtime/tablets_channel.cpp @@ -133,8 +133,9 @@ Status BaseTabletsChannel::open(const PTabletWriterOpenRequest& request) { if (_state == kOpened || _state == kFinished) { return Status::OK(); } - LOG(INFO) << fmt::format("open tablets channel of index {}, tablets num: {} timeout(s): {}", - _index_id, request.tablets().size(), request.load_channel_timeout_s()); + LOG(INFO) << fmt::format("open tablets channel {}, tablets num: {} timeout(s): {}", + _key.to_string(), request.tablets().size(), + request.load_channel_timeout_s()); _txn_id = request.txn_id(); _index_id = request.index_id(); _schema = std::make_shared();