Commit Graph

48 Commits

Author SHA1 Message Date
houseme 928453db62 improve code for notify 2025-06-23 03:34:05 +08:00
houseme e0f65e5e24 improve code for notify 2025-06-21 10:35:07 +08:00
houseme d3cc36f6e0 fix 2025-06-20 10:51:36 +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 52342f2f8e feat(grpc): walk_dir http
fix(ecstore): rebalance loop
2025-06-16 10:32:03 +08:00
weisd e8a59d7c07 move disk::utils to crates::utils 2025-06-11 15:55:40 +08:00
weisd 91c099e35f add Error test, fix clippy 2025-06-09 11:29:23 +08:00
houseme 4199bf2ba4 modify crates name 2025-06-06 11:14:36 +08:00
weisd 9384b831ec ecstore update ec/disk/error 2025-06-06 01:13:51 +08:00
houseme 8555d48ca2 fix 2025-06-04 23:46:14 +08:00
houseme 8660c2af12 merge main 2025-05-28 17:26:31 +08:00
overtrue 8747a91df8 feat: add comprehensive formatting rules and type inference guidelines 2025-05-28 16:04:38 +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 0f22b21c8d improve channel adapter 2025-05-21 16:44:59 +08:00
houseme 1c088546b3 add 2025-05-21 07:15:47 +08:00
houseme dff7476143 improve comment 2025-05-19 13:39:46 +08:00
houseme dd7da015e3 Feature/rustfs config (#396)
* init rustfs config

* improve code for rustfs-config crate

* add

* improve code for comment

* fix: modify rustfs-config crate name

* add default fn

* improve error logger

* fix: modify docker config yaml

* improve code for config

* feat: restrict kafka feature to Linux only

- Add target-specific feature configuration in Cargo.toml for obs and event-notifier crates
- Implement conditional compilation for kafka feature only on Linux systems
- Add appropriate error handling for non-Linux platforms
- Ensure backward compatibility with existing code

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* fix(ci): add repo-token to setup-protoc action for authentication

- Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action
- Ensure proper authentication for Protoc installation in CI workflow
- Maintain consistent setup across different CI environments

* modify config

* improve readme.md

* remove env config relation

* add allow(dead_code)
2025-05-12 01:17:31 +08:00
weisd f624ec5ba6 feat:decom,rebalance 2025-04-18 16:00:21 +08:00
weisd 0c435c6a05 add admin policy check for user operation 2025-04-11 10:46:36 +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 b29b15f3b5 rewrite iam 2025-01-17 17:22:39 +08:00
weisd d25d233cdc fix #110 #112 add ServerInfoHandler need test 2025-01-06 16:02:21 +08:00
weisd 47f365d385 feat:#165 copyobject v1 2025-01-03 02:09:51 +08:00
weisd 34b16293ba merge main 2024-12-26 00:10:11 +08:00
weisd b46a78fb63 fix check file not found use is_err_object_not_found 2024-12-23 15:44:24 +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 eb12c9b005 test StorageInfoHandler 2024-12-03 17:38:52 +08:00
bestgopher bb2f765e5d add iam system
add iam store

feat: add crypto crate

introduce decrypt_data and encrypt_data functions

Signed-off-by: bestgopher <84328409@qq.com>
2024-12-02 10:50:31 +08:00
weisd 9d95d14129 todo decommission_in_routine 2024-11-28 17:16:50 +08:00
weisd 73efd4f493 use Arc<ECStroe> 2024-11-28 14:47:01 +08:00
mujunxiang 7029524504 peer rest frame
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:24:22 +08:00
weisd f56a0d1b6d add logs 2024-11-26 11:19:16 +08:00
mujunxiang e94d462652 auto heal(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-19 17:15:37 +08:00
junxiang Mu 6291087ecb auto heal(2)
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-17 18:34:29 +08:00
junxiang Mu fe50ccd39f tmp 2024-11-14 10:27:07 +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 2aba454318 fix cargo clippy err 2024-11-03 10:25:17 +08:00
weisd 09ea11c13d merge versioning, fix bug todo 2024-11-02 00:21:10 +08:00
junxiang Mu a0e37098bb fix clippy
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-10-12 14:09:52 +08:00
weisd 000866556e init BucketVersionin api 2024-10-09 17:38:56 +08:00
weisd 1092b2696a update bucket tagging op use bucketmetadata_sys 2024-10-05 01:41:19 +08:00
weisd 2f046b00f7 init bucketmetadata_sys 2024-10-04 23:21:58 +08:00
weisd 25bfd1bbc4 init bucketmetadata_sys 2024-10-01 23:06:09 +08:00
weisd 32baa7f146 stash 2024-10-01 04:35:25 +08:00