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 396b2428024 branch-3.0: [Opt](load) reduce the length of error url to 
avoid exceeding the MySQL protocol length limit for cloud #45213 (#45291)
396b2428024 is described below

commit 396b2428024b69f3d13e1802b4902db48d37c1ff
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 12 19:46:13 2024 +0800

    branch-3.0: [Opt](load) reduce the length of error url to avoid exceeding 
the MySQL protocol length limit for cloud #45213 (#45291)
    
    Cherry-picked from #45213
    
    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 34d9be9bcb2..f6f70f5c679 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/" << _import_label << "_" << std::hex << 
_fragment_instance_id.hi;
+            ss << "error_log/" << std::hex << _query_id.hi;
             _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