This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 468bcb6869 [branch-2.0-fix] (S3FileSystem) assign correct use virtual
address value pick 22507 (#22938)
468bcb6869 is described below
commit 468bcb6869586ed2b0721c594585d754d95fba43
Author: AlexYue <[email protected]>
AuthorDate: Tue Aug 15 11:28:15 2023 +0800
[branch-2.0-fix] (S3FileSystem) assign correct use virtual address value
pick 22507 (#22938)
---
be/src/agent/task_worker_pool.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/agent/task_worker_pool.cpp
b/be/src/agent/task_worker_pool.cpp
index b745b063c5..b7a46ec7ba 100644
--- a/be/src/agent/task_worker_pool.cpp
+++ b/be/src/agent/task_worker_pool.cpp
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]