This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 1ef42dd94b1 [Fix](load) The value of the index id printed in the log
is incorrect #38790 (#39131)
1ef42dd94b1 is described below
commit 1ef42dd94b1fab6befc193d5db7bdadc914ef990
Author: Xin Liao <[email protected]>
AuthorDate: Fri Aug 9 12:31:33 2024 +0800
[Fix](load) The value of the index id printed in the log is incorrect
#38790 (#39131)
cherry pick from #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 266d4d45f18..06bd73a3b20 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<OlapTableSchemaParam>();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]