From a1ccf34ecc01077a57f5e44bc47ca1e9e89e53b5 Mon Sep 17 00:00:00 2001 From: meiyi Date: Wed, 31 Jan 2024 00:19:04 +0800 Subject: [PATCH] [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 e64cf00911..3a31ebcf9c 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