Skip to content

Commit

Permalink
[Opt](load) reduce the length of error url to avoid exceeding the MyS…
Browse files Browse the repository at this point in the history
…QL protocol length limit
  • Loading branch information
liaoxin01 committed Dec 9, 2024
1 parent 7b5b8db commit e375f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/runtime/runtime_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,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();
}
}
Expand Down

0 comments on commit e375f77

Please sign in to comment.