weisd
a0f8b2f2be
Merge pull request #503 from rustfs/refactor/unify-bucket-metadata-errors
...
refactor(ecstore): simplify bucket metadata error handling by using C…
2025-06-23 17:05:35 +08:00
weisd
317cadaed8
refactor(ecstore): simplify bucket metadata error handling by using ConfigNotFound
...
- Remove specific bucket metadata error variants (BucketPolicyNotFound, etc.)
- Unify all configuration-not-found errors to use StorageError::ConfigNotFound
- Simplify error handling in bucket metadata system by removing redundant error conversions
- Clean up error matching patterns in metadata getter methods
- Remove debug print statement from get_bucket_targets_config
- Update error handling in S3 API layer to use unified ConfigNotFound error
This change improves code maintainability by reducing error type complexity
while preserving the same error semantics for API consumers.
2025-06-23 17:04:14 +08:00
likewu
81f0c9763f
Merge branch 'main' of https://github.com/rustfs/s3-rustfs into feature/ilm
...
# Conflicts:
# Cargo.lock
# Cargo.toml
# crates/utils/Cargo.toml
# crates/utils/src/net.rs
# ecstore/Cargo.toml
# ecstore/src/set_disk.rs
# rustfs/src/storage/ecfs.rs
2025-06-23 16:42:18 +08:00
likewu
2c176dd864
fix clippy
2025-06-23 12:03:46 +08:00
likewu
cc71f40a6d
ilm feature add
2025-06-22 23:04:40 +08:00
houseme
e6b019c29d
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# .github/workflows/build.yml
# .github/workflows/ci.yml
# Cargo.lock
# Cargo.toml
# appauth/src/token.rs
# crates/config/src/config.rs
# crates/event-notifier/examples/simple.rs
# crates/event-notifier/src/global.rs
# crates/event-notifier/src/lib.rs
# crates/event-notifier/src/notifier.rs
# crates/event-notifier/src/store.rs
# crates/filemeta/src/filemeta.rs
# crates/notify/examples/webhook.rs
# crates/utils/Cargo.toml
# ecstore/Cargo.toml
# ecstore/src/cmd/bucket_replication.rs
# ecstore/src/config/com.rs
# ecstore/src/disk/error.rs
# ecstore/src/disk/mod.rs
# ecstore/src/set_disk.rs
# ecstore/src/store_api.rs
# ecstore/src/store_list_objects.rs
# iam/Cargo.toml
# iam/src/manager.rs
# policy/Cargo.toml
# rustfs/src/admin/rpc.rs
# rustfs/src/main.rs
# rustfs/src/storage/mod.rs
2025-06-19 13:16:48 +08:00
weisd
c48ebd5149
feat: add compress support
2025-06-17 15:06:40 +08:00
weisd
e8a59d7c07
move disk::utils to crates::utils
2025-06-11 15:55:40 +08:00
weisd
f85ef06783
merge main
2025-06-09 15:31:11 +08:00
weisd
91c099e35f
add Error test, fix clippy
2025-06-09 11:29:23 +08:00
weisd
62a7824d0d
fix clippy
2025-06-07 15:39:06 +08:00
weisd
c589972fa7
mc test ok
2025-06-06 16:15:26 +08:00
houseme
77ddd1cfe0
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# Cargo.lock
# Cargo.toml
2025-06-06 15:52:32 +08:00
houseme
1f62c35846
cargo fmt
2025-06-06 15:30:27 +08:00
weisd
9384b831ec
ecstore update ec/disk/error
2025-06-06 01:13:51 +08:00
lygn128
3c7b66e039
bucket replication
2025-06-05 14:26:42 +00:00
houseme
8660c2af12
merge main
2025-05-28 17:26:31 +08:00
安正超
a1f4abf6c3
fix: resolve all Clippy warnings across codebase - Fixed field reassignment warnings in ecstore/src/file_meta.rs by using struct initialization instead of default + field assignment - Fixed overly complex boolean expression in ecstore/src/utils/os/mod.rs by removing meaningless assertion - Replaced manual Default implementation with derive in crates/zip/src/lib.rs - Updated io::Error usage to use io::Error::other() instead of deprecated pattern - Removed useless assertions and clone-on-copy warnings - Fixed unwrap usage by replacing with expect() providing meaningful error messages - Fixed useless vec usage by using array repeat instead - All code now passes comprehensive Clippy check with --all-targets --all-features -- -D warnings
2025-05-28 11:00:07 +08:00
houseme
a95138868e
improve code
2025-05-27 19:07:09 +08:00
houseme
ca8f399832
format comment
2025-05-27 13:56:19 +08:00
houseme
be8a615cd7
fix typo
2025-05-19 16:21:22 +08:00
weisd
fff7e5f827
pool select idx
...
fixs:#346, #339 , #338 , #337 , #336 , #334
test healbucket
test get_available_pool_idx
fix
2025-04-23 15:11:43 +08:00
weisd
7ea163fbe1
update s3 api access check support anonymous
2025-03-26 14:21:43 +08:00
weisd
ab31be8d46
ecstore update bucket policy
2025-03-26 11:39:14 +08:00
weisd
545ae79e44
move ecsotre/error to common
2025-03-25 17:42:15 +08:00
weisd
01cf4c663d
opt network io
2025-03-14 23:26:54 +08:00
weisd
1c44e2d099
extract_claims
2025-01-12 01:41:22 +08:00
weisd
9e7b5991eb
fix make_bucket created not set
2025-01-10 23:49:21 +08:00
weisd
d25d233cdc
fix #110 #112 add ServerInfoHandler need test
2025-01-06 16:02:21 +08:00
weisd
450ff132e0
fix : #189 #192
2024-12-29 23:36:10 +08:00
junxiang Mu
84953bf15b
refactor error framework
...
Signed-off-by: junxiang Mu <1948535941@qq.com >
2024-12-18 20:50:22 +08:00
weisd
e39775bb34
notification_sys base
2024-12-04 10:55:09 +08:00
安正超
357a334b0b
wip
2024-12-03 02:54:23 +00:00
weisd
bfa0e77f78
Merge pull request #136 from rustfs/pool-api
...
fix download err where versioning enable
2024-12-02 00:05:13 +08:00
mujunxiang
1a418c74b4
support mc admin heal command
...
Signed-off-by: mujunxiang <1948535941@qq.com >
2024-11-30 21:29:37 +08:00
weisd
df60aa50fe
todo file_info_from_raw
2024-11-30 20:54:51 +08:00
weisd
bbc76302a2
sync s3s rustfs branch, fix versiong config
2024-11-29 14:58:40 +08:00
weisd
73efd4f493
use Arc<ECStroe>
2024-11-28 14:47:01 +08:00
weisd
b79b967036
move admin router to rustfs, add pool stats/list admin api
2024-11-26 17:34:18 +08:00
weisd
821bb6fe3f
merge heal
2024-11-20 17:40:11 +08:00
mujunxiang
e94d462652
auto heal(3)
...
Signed-off-by: mujunxiang <1948535941@qq.com >
2024-11-19 17:15:37 +08:00
weisd
706fce49b9
fix bug
2024-11-19 10:44:27 +08:00
root
01e0e4b673
auto heal(1)
...
Signed-off-by: root <root@DESKTOP-QLJNS6S.localdomain >
2024-11-16 20:43:34 +08:00
junxiang Mu
be7d1ab0cc
tmp(2)
...
Signed-off-by: junxiang Mu <1948535941@qq.com >
2024-11-14 10:30:02 +08:00
weisd
26b6d3a1ec
test accountinfo
2024-11-14 09:06:42 +08:00
weisd
b400860538
test accountinfo
2024-11-12 17:38:36 +08:00
weisd
ff3f8f5cc7
init AssumeRoleHandle
2024-11-12 15:53:47 +08:00
weisd
69e19fe8ab
cargo clippy
2024-11-04 09:08:21 +08:00
weisd
09ea11c13d
merge versioning, fix bug todo
2024-11-02 00:21:10 +08:00
weisd
12114dce16
fix:#38 implement the basic storage functions of bucketmeta config use s3s struct define
2024-10-14 14:58:32 +08:00