Skip to content

Commit 77fc209

Browse files
liaoxin01dataroaring
authored andcommitted
[Fix](load) The value of the index id printed in the log is incorrect (#38790)
1 parent ef5094a commit 77fc209

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

be/src/runtime/tablets_channel.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ Status BaseTabletsChannel::open(const PTabletWriterOpenRequest& request) {
133133
if (_state == kOpened || _state == kFinished) {
134134
return Status::OK();
135135
}
136-
LOG(INFO) << fmt::format("open tablets channel of index {}, tablets num: {} timeout(s): {}",
137-
_index_id, request.tablets().size(), request.load_channel_timeout_s());
136+
LOG(INFO) << fmt::format("open tablets channel {}, tablets num: {} timeout(s): {}",
137+
_key.to_string(), request.tablets().size(),
138+
request.load_channel_timeout_s());
138139
_txn_id = request.txn_id();
139140
_index_id = request.index_id();
140141
_schema = std::make_shared<OlapTableSchemaParam>();

0 commit comments

Comments
 (0)