You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2024/01/31 15:54:23 UTC
(doris) 11/37: [fix](group commit) Fix replay wal core because undefined TLoadSourceType (#30571)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
commit a1ccf34ecc01077a57f5e44bc47ca1e9e89e53b5
Author: meiyi <my...@gmail.com>
AuthorDate: Wed Jan 31 00:19:04 2024 +0800
[fix](group commit) Fix replay wal core because undefined TLoadSourceType (#30571)
---
be/src/olap/wal/wal_table.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/olap/wal/wal_table.cpp b/be/src/olap/wal/wal_table.cpp
index e64cf00911f..3a31ebcf9c0 100644
--- a/be/src/olap/wal/wal_table.cpp
+++ b/be/src/olap/wal/wal_table.cpp
@@ -259,6 +259,8 @@ Status WalTable::_handle_stream_load(int64_t wal_id, const std::string& wal,
ctx->auth.token = "relay_wal"; // this is a fake, fe not check it now
ctx->auth.user = "admin";
ctx->group_commit = false;
+ ctx->load_type = TLoadType::MANUL_LOAD;
+ ctx->load_src_type = TLoadSourceType::RAW;
auto st = _http_stream_action->process_put(nullptr, ctx);
if (st.ok()) {
// wait stream load finish
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org