[fix](group commit) Fix replay wal core because undefined TLoadSourceType (#30571)

This commit is contained in:
meiyi
2024-01-31 00:19:04 +08:00
committed by yiguolei
parent 1d632f1af4
commit a1ccf34ecc

View File

@ -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