This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 27e816c0987 [fix](group_commit) Fix commit txn problem when replaying 
wal (#30361)
27e816c0987 is described below

commit 27e816c0987ca116917c953cd15ff8c671f1eb92
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]

Reply via email to