8 Commits
Author SHA1 Message Date
Gavin Chou 288e89103d [test](cloud) Make SyncExecutor delay test deterministic (#68145) 2026-09-23 22:40:54 +08:00
Refrain 07ba0d1e44 [improvement](s3) Default scheme-less S3 endpoints to HTTPS (#65379)
Problem Summary:

S3 endpoint scheme handling was inconsistent across FE, BE, and Cloud,
and the previous implementation distinguished Doris internal buckets
from user-configured external buckets. That classification leaked into
S3Conf construction and client-cache identity even though the desired
transport rule is the same for every AWS/S3-compatible endpoint.

This PR applies one rule across S3 client construction and
Resource/Storage Vault persistence boundaries:

- Keep the existing FE, BE, and Cloud s3_client_http_scheme
compatibility setting.
- Default every endpoint without an explicit scheme to HTTPS.
- If s3_client_http_scheme is explicitly set to http, use HTTP for
endpoints without a scheme.
- Preserve endpoints that already contain an explicit http:// or
https:// scheme.
- Remove the internal/external bucket classification from BE and Cloud
S3 configuration.
- Apply the same behavior to FE native S3 clients, the S3 filesystem
plugin, connectivity checks, stages, resources, and Iceberg S3 FileIO
handoffs.
- Normalize scheme-less S3 Resource and Storage Vault endpoint metadata
before persistence using the same configured default.

Azure is intentionally unchanged in this PR. Its existing
provider-specific behavior already defaults a bare endpoint to HTTPS and
preserves an explicit scheme; whether Azure should share the S3
compatibility setting is a separate policy decision.

### Release note

S3 endpoints without an explicit scheme now use HTTPS by default across
FE, BE, and Cloud. Set s3_client_http_scheme = http for compatibility
with scheme-less HTTP endpoints. Explicit HTTP and HTTPS endpoint
schemes are unchanged.
2026-08-04 23:26:01 +08:00
abmdocrt 7d6fef7b34 [Fix](Recycler) Fix recycler azure path fault (#54291) 2025-08-11 17:27:46 +08:00
Pxl a94183cb9f [Chore](build) fix some cloud build fail on gcc15 (#53306)
fix some cloud build fail
2025-07-16 10:06:29 +08:00
Lei Zhang a02ddbeb3a [fix](s3Client) Add ca_cert_file_paths conf for stsClient` and recycler (#50837)
* https://github.com/apache/doris/pull/32285 In previous, the pr add a
`ca_cert_file_paths` config for be s3Client, but lack of recycler and
stsClient
2025-05-13 21:36:54 +08:00
abmdocrtandGavin Chou e3b18b588b [fix](recycler) Fix CountdownEvent error and hang (#45760)
Fix CountdownEvent error "Invoking add_count() after wait() was invoked"

---------

Co-authored-by: Gavin Chou <gavineaglechou@gmail.com>
2024-12-24 15:16:03 +08:00
AlexYue 05b05bdc1b [feature](Recycler) Parallelize s3 delete operations and recycle_tablet (#37630)
Previously the procedure of recycler instance is single-threaded, which
is not full sufficiently parallel. And there exists many network IO
operation. So this pr tries to spilt recycle tasks into different stage
which can be parallel. And make the delete operations parallel.
2024-07-19 22:39:01 +08:00
Gavin Chou fe50c256bc [chore](UT) Add UT for cloud string util (#37552) 2024-07-14 17:59:39 +08:00