Skip to content

Commit

Permalink
[branch-2.0-fix] (S3FileSystem) assign correct use virtual address va…
Browse files Browse the repository at this point in the history
…lue pick 22507 (#22938)
  • Loading branch information
ByteYue authored Aug 15, 2023
1 parent e87581c commit 468bcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/agent/task_worker_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ void TaskWorkerPool::_push_storage_policy_worker_thread_callback() {
s3_conf.request_timeout_ms = resource.s3_storage_param.request_timeout_ms;
// When using cold heat separation in minio, user might use ip address directly,
// which needs enable use_virtual_addressing to true
s3_conf.use_virtual_addressing = resource.s3_storage_param.use_path_style;
s3_conf.use_virtual_addressing = !resource.s3_storage_param.use_path_style;
std::shared_ptr<io::S3FileSystem> fs;
if (existed_resource.fs == nullptr) {
st = io::S3FileSystem::create(s3_conf, std::to_string(resource.id), &fs);
Expand Down

0 comments on commit 468bcb6

Please sign in to comment.