Tyooughtul
fc1635ef46
Fix/resolve pr 1710 ( #1743 )
2026-02-11 08:28:56 +08:00
houseme
f3de305fff
feat: add flexible rustls provider selection and unify initialization
...
Introduced a new feature flag system to allow users to switch between `rustls`
crypto backends (`aws-lc-rs` or `ring`) and unified the provider
initialization logic.
### Changes:
#### 1. Feature Management
- Added `default-rustls-provider`, `rustls-aws-lc-rs`, and `rustls-ring`
features to `rustfs/Cargo.toml`.
- Configured `rustls-aws-lc-rs` as the default provider (using `aws-lc-rs`).
- Updated workspace dependencies in the root `Cargo.toml` to remove
hardcoded `aws-lc-rs` features, allowing them to be controlled by the
top-level crate features.
#### 2. Unified Initialization
- Implemented `init_rustls_crypto_provider()` in `rustfs/src/init.rs`
using `#[cfg]` attributes to install the appropriate default provider
based on enabled features.
- Added a call to `init_rustls_crypto_provider()` in `rustfs/src/main.rs`
during the early startup phase.
#### 3. Code Cleanup
- Removed redundant `rustls::crypto::aws_lc_rs::default_provider().install_default()`
calls from the following modules to prevent multiple installation attempts:
- `crates/ecstore/src/client/transition_api.rs`
- `crates/protocols/src/ftps/server.rs`
- `rustfs/src/admin/console.rs`
- `rustfs/src/server/http.rs`
- `crates/e2e_test/src/protocols/ftps_core.rs`
This change improves project maintainability and provides users with the
flexibility to choose their preferred cryptographic backend at compile time.
2026-02-11 01:23:20 +08:00
houseme
4411c625e2
feat(metrics): async collection with configurable intervals & graceful shutdown ( #1768 )
2026-02-10 21:37:24 +08:00
Md. Amdadul Bari Imad
c07ed61989
fix(entrypoint): remove dead HTTP URL check in volume filtering ( #1761 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-10 12:07:08 +08:00
yxrxy
da58f8e291
fix: Allow non-admin users to read bucket quota configuration. ( #1759 )
...
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com >
2026-02-10 11:23:21 +08:00
mengyu-sxyz
aa011ade19
fix: improve part size calculation in optimal_part_info function ( #1532 )
...
Signed-off-by: mengyu-sxyz <mengyu@sentio.xyz >
Co-authored-by: loverustfs <hello@rustfs.com >
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com >
2026-02-10 10:56:47 +08:00
LoganZ2
ccf3b29df5
fix: stabilize head metadata responses and heal tests ( #1732 )
...
Signed-off-by: LoganZ2 <103290230+LoganZ2@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-10 09:44:14 +08:00
evan slack
682b5bbb2f
perf(scanner): Change DataUseageEntry from clone to borrow ( #1757 )
...
Signed-off-by: evan slack <51209817+evanofslack@users.noreply.github.com >
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: loverustfs <hello@rustfs.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-10 08:53:26 +08:00
LeonWang0735
f4e9ef2edc
fix(replication): avoid re-replication loop in Active-Active replication ( #1751 )
...
Co-authored-by: loverustfs <hello@rustfs.com >
2026-02-09 14:11:30 +08:00
dependabot[bot]
ff8c1c782a
build(deps): bump libunftp from 0.21.0 to 0.22.0 in the dependencies group across 1 directory ( #1756 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-09 13:43:47 +08:00
houseme
ca6076fe18
build(deps): bump the dependencies group with 5 updates ( #1755 )
2026-02-09 11:31:43 +08:00
evan slack
58ee140324
perf(regex): Compile bucket validation regex once ( #1753 )
2026-02-09 10:50:17 +08:00
thorntonmc
927f3a57d7
perf(quota): Skip expensive usage checks when no quota configured ( #1749 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-08 22:37:53 +08:00
majinghe
a574285ab2
feat: add support for mtls with kubernetes installation ( #1741 )
2026-02-08 09:31:58 +08:00
LeonWang0735
60793c17d7
fix: persist replication status and timestamp after replicate_object ( #1747 )
...
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-07 12:50:37 +08:00
houseme
0b870d6301
build(deps): bump the dependencies group with 19 updates ( #1745 )
2026-02-07 12:22:14 +08:00
Isaac Mills
d635ee8d2e
Propogate tracing context from HTTP requests into spans ( #1739 )
...
Signed-off-by: Isaac Mills <57533634+StratusFearMe21@users.noreply.github.com >
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: loverustfs <hello@rustfs.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-07 11:52:31 +08:00
yxrxy
5c2eda356e
feat: migrate FTP/SFTP to protocols crate and update dependencies ( #1580 )
...
Signed-off-by: yxrxy <yxrxytrigger@gmail.com >
Signed-off-by: houseme <housemecn@gmail.com >
Signed-off-by: heihutu <30542132+heihutu@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com >
Co-authored-by: loverustfs <hello@rustfs.com >
2026-02-06 20:58:42 +08:00
LeonWang0735
a2b88a79ec
test(e2e_test): add automated cluster environment for conditional PUT race test ( #1673 )
...
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: loverustfs <hello@rustfs.com >
2026-02-06 15:01:59 +08:00
LeonWang0735
6eb90e7df9
fix: fetch_owner set to true when calling list_objects_v2 in the list_objects function ( #1730 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-05 22:48:32 +08:00
majinghe
466429b958
feat: add contour as ingress controller with http proxy ( #1729 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-05 21:04:18 +08:00
GatewayJ
c8411fd62c
fix: bucket policy id field serde ( #1726 )
2026-02-05 18:38:57 +08:00
houseme
6bba41f11f
Fix/fix issues #1564 ( #1708 )
...
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-05 13:45:14 +08:00
majinghe
e30781654d
enhancement: add support for http to https redirect for traefik gatew… ( #1712 )
2026-02-04 20:21:42 +08:00
唐小鸭
7a42af922d
Refactor: refactor SSE layer and KMS subsystem ( #1703 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-02-04 16:10:33 +08:00
weisd
4d19b069c3
fix: replication delete ( #1714 )
2026-02-04 13:39:35 +08:00
loverustfs
a4563f7b41
fix: return null versionId when suspended ( #1066 ) ( #1709 )
2026-02-04 09:22:52 +08:00
dependabot[bot]
174e12bf66
build(deps): bump bytes from 1.11.0 to 1.11.1 ( #1711 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 08:41:30 +08:00
majinghe
f03034b99e
feat: add glibc based docker image support ( #1705 )
...
Signed-off-by: majinghe <42570491+majinghe@users.noreply.github.com >
2026-02-03 21:27:20 +08:00
LeonWang0735
36f14acbe9
fix: object lock compliance mode allows deletion ( #1687 )
...
Co-authored-by: loverustfs <hello@rustfs.com >
2026-02-03 17:06:24 +08:00
majinghe
2f66f15524
feat: add obs log rotations environment variables ( #1702 )
2026-02-03 10:35:30 +08:00
houseme
cb468fb32f
Refactor trusted-proxies: modernize utils, improve safety, and fix clippy lints ( #1693 )
...
Co-authored-by: majinghe <42570491+majinghe@users.noreply.github.com >
Co-authored-by: GatewayJ <835269233@qq.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: houseme <4829346+houseme@users.noreply.github.com >
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com >
2026-02-03 01:06:22 +08:00
houseme
d1a70176a2
fix: Fixed that account_id returns normal value ( #1695 )
2026-02-02 20:15:54 +08:00
LeonWang0735
ec4458f846
Fix/correctly handle terraform s3 backend with versioned bucket ( #1686 )
...
Co-authored-by: loverustfs <hello@rustfs.com >
2026-02-02 12:43:07 +08:00
yxrxy
00ccc19e27
Revert "fix: resolve Issue #1465 - IAM credential change crash ( #1535 )" ( #1685 )
2026-02-02 07:14:53 +08:00
houseme
07cf2feaad
fix(pprof): Fixed the problem that pprof crate does not support the window platform ( #1681 )
...
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-01 00:12:55 +08:00
likewu
087f58b7c8
fix(lifecycle): lifecycle fixes ( #1625 )
...
Signed-off-by: likewu <likewu@126.com >
Co-authored-by: loverustfs <hello@rustfs.com >
2026-01-31 19:14:47 +08:00
moechs
6fc35e442c
fix: add gatewayApi.enabled check to TraefikService template ( #1679 )
...
Signed-off-by: moechs <68768084+moechs@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
2026-01-31 17:42:27 +08:00
majinghe
a798b20308
fix: init container security hardened for operation permission error ( #1680 )
2026-01-31 17:00:42 +08:00
houseme
38b779b924
feat(profiling): support cross-platform memory profiling with mimalloc and pprof ( #1674 )
2026-01-30 22:23:49 +08:00
weisd
1aba8c10b9
refactor: Remove unused data usage collection code ( #1672 )
...
Co-authored-by: houseme <housemecn@gmail.com >
1.0.0-alpha.82
2026-01-30 19:08:39 +08:00
houseme
90ed75a3dc
refactor(utils/os): Optimize Windows OS utilities and add safety comments ( #1671 )
...
Co-authored-by: weisd <weishidavip@163.com >
2026-01-30 16:13:42 +08:00
weisd
dce117840c
refactor: NamespaceLock (nslock), AHM→Heal Crate, and Lock/Clippy Fixes ( #1664 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: weisd <2057561+weisd@users.noreply.github.com >
Co-authored-by: houseme <housemecn@gmail.com >
2026-01-30 13:13:41 +08:00
majinghe
1c085590ca
fix: traefik gateway api support with sticky session ( #1660 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-01-30 12:34:31 +08:00
houseme
2ee81496b0
fix: deduplicate disks in capacity calculation to prevent inflation ( #1656 )
2026-01-30 00:03:21 +08:00
LeonWang0735
022e3dfc21
fix:s3 tests fix ( #1652 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2026-01-29 19:35:03 +08:00
majinghe
6b15e727f5
feat: add virtual host mode support for kubernetes installation ( #1655 )
2026-01-29 17:55:24 +08:00
zhangwenlong
ab84da24ef
fix: build error on loongarch64 ( #904 )
...
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: 安正超 <anzhengchao@gmail.com >
Co-authored-by: 0xdx2 <xuedamon2@gmail.com >
2026-01-29 17:41:56 +08:00
houseme
e377c7e7f9
fix(head): clearer NoSuchKey for prefix keys and validate part numbers ( #1638 )
2026-01-29 15:40:51 +08:00
houseme
7c497a30b2
build(deps): bump the dependencies group with 12 updates ( #1650 )
2026-01-29 14:21:35 +08:00