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 75ba0aa90a6d43977e02ecba812f8b726d693075 Author: huanghaibin <[email protected]> AuthorDate: Thu Jan 25 21:20:10 2024 +0800 [fix](group_commit) Fix commit txn problem when replaying wal (#30361) --- be/src/olap/wal/wal_table.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/src/olap/wal/wal_table.cpp b/be/src/olap/wal/wal_table.cpp index 8adc9cf5f50..8a68f15d724 100644 --- a/be/src/olap/wal/wal_table.cpp +++ b/be/src/olap/wal/wal_table.cpp @@ -264,6 +264,7 @@ Status WalTable::_handle_stream_load(int64_t wal_id, const std::string& wal, // wait stream load finish RETURN_IF_ERROR(ctx->future.get()); if (ctx->status.ok()) { + ctx->auth.auth_code = wal_id; auto commit_st = _exec_env->stream_load_executor()->commit_txn(ctx.get()); st = commit_st; } else if (!ctx->status.ok()) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
