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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 7d8ffdda166 branch-3.0: [fix](cloud) Prevent S3 error log name 
collisions in multiple instances #51356 (#51370)
7d8ffdda166 is described below

commit 7d8ffdda166e9297c434c4c618736a6c73918abe
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jun 1 09:10:01 2025 +0800

    branch-3.0: [fix](cloud) Prevent S3 error log name collisions in multiple 
instances #51356 (#51370)
    
    Cherry-picked from #51356
    
    Co-authored-by: Xin Liao <liao...@selectdb.com>
---
 be/src/runtime/runtime_state.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/runtime_state.cpp b/be/src/runtime/runtime_state.cpp
index 5aa25e133d2..dcf17778ff8 100644
--- a/be/src/runtime/runtime_state.cpp
+++ b/be/src/runtime/runtime_state.cpp
@@ -360,7 +360,7 @@ Status RuntimeState::create_error_log_file() {
             // 
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_basic_err_packet.html
             // shorten the path as much as possible to prevent the length of 
the presigned URL from
             // exceeding the MySQL error packet size limit
-            ss << "error_log/" << std::hex << _query_id.hi;
+            ss << "error_log/" << std::hex << _fragment_instance_id.lo;
             _s3_error_log_file_path = ss.str();
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to