This is an automated email from the ASF dual-hosted git repository.
eldenmoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ec187662be use correct bool value (#22507)
ec187662be is described below
commit ec187662be9b0f4b144cd5a73a4ffad54cb3ba43
Author: AlexYue <[email protected]>
AuthorDate: Thu Aug 3 20:09:57 2023 +0800
use correct bool value (#22507)
---
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 de578367a9..414497ff86 100644
--- a/be/src/agent/task_worker_pool.cpp
+++ b/be/src/agent/task_worker_pool.cpp
@@ -1159,7 +1159,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]