Commit Graph

83 Commits

Author SHA1 Message Date
houseme
5ab2ce3cfe cargo fmt 2025-06-06 15:30:27 +08:00
houseme
5c65368729 fix: remove dep crate openssl relation 2025-06-06 15:13:55 +08:00
lygn128
5850c3e8a3 bucket replication 2025-06-05 14:26:42 +00:00
overtrue
3a32517f79 feat: add comprehensive formatting rules and type inference guidelines 2025-05-28 16:04:38 +08:00
overtrue
b0174122c8 fix: resolve clippy warnings for field reassignment with default in last_minute.rs tests 2025-05-28 15:14:49 +08:00
overtrue
fefa8cb2c8 resolve: merge conflicts in last_minute.rs tests 2025-05-28 14:48:53 +08:00
安正超
bcbd72d849 fix: resolve critical namespace lock bug and improve test reliability 2025-05-28 11:51:48 +08:00
安正超
b73e4ac7e8 fix: resolve critical namespace lock bug and improve test reliability 2025-05-28 11:46:46 +08:00
安正超
ea8dfa43a4 fix: resolve all Clippy warnings and test failures - Fixed field reassignment warnings in ecstore/src/file_meta.rs by using struct initialization - Fixed overly complex boolean expression in ecstore/src/utils/os/mod.rs - Fixed JWT claims extraction tests in iam module to handle error cases properly - Fixed filter_policies tests to match actual function behavior with empty cache - Fixed tracing subscriber initialization conflicts in rustfs-event-notifier tests - Added buffer length validation in ecstore read_bytes_header function - Fixed concurrent read locks test by clearing global state and improving test reliability - Removed unused imports to eliminate Clippy warnings - All tests now pass: cargo test --workspace --lib --all-features --exclude e2e_test - All Clippy warnings resolved: cargo clippy --all-targets --all-features -- -D warnings 2025-05-28 11:40:05 +08:00
安正超
9ec22255e0 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
overtrue
01a340d596 feat: add comprehensive test coverage for common module 2025-05-27 22:58:06 +08:00
overtrue
609e55a5a2 feat: add comprehensive tests for DRWMutex and fix critical bugs 2025-05-27 21:21:47 +08:00
overtrue
1e3287f610 feat: add comprehensive test coverage for last_minute latency module 2025-05-27 21:03:56 +08:00
houseme
27c6030f09 improve code 2025-05-27 19:07:09 +08:00
houseme
38377f81ed refactor: standardize constant management and fix typos (#387)
* init rustfs config

* init rustfs-utils crate

* improve code for rustfs-config crate

* add

* improve code for comment

* init rustfs config

* improve code for rustfs-config crate

* add

* improve code for comment

* Unified management of configurations and constants

* fix: modify rustfs-config crate name

* add default fn

* improve code for rustfs config

* refactor: standardize constant management and fix typos

- Create centralized constants module for global static constants
- Replace runtime format! expressions with compile-time constants
- Fix DEFAULT_PORT reference issues in configuration arguments
- Use const-str crate for compile-time string concatenation
- Update tokio dependency from 1.42.2 to 1.45.0
- Ensure consistent naming convention for configuration constants

* fix

* Update common/workers/src/workers.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-07 17:23:22 +08:00
junxiang Mu
d5ba9cdf28 support spec char as delimiter
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-06 11:10:30 +08:00
weisd
7eefafaad5 merge fix/pools 2025-04-23 16:48:57 +08:00
weisd
89785dc06b 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
junxiang Mu
778ca76607 move protobuf generate into bin crate
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-21 03:09:54 +00:00
junxiang Mu
b7a7dcead8 degrade rand && object_store
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-09 03:27:03 +00:00
junxiang Mu
1cfd459b83 update tonic axum
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-09 02:41:06 +00:00
weisd
3d4760181d move ecsotre/error to common 2025-03-25 17:42:15 +08:00
weisd
9b0f498add use http for remote read/write 2025-03-11 16:12:34 +08:00
weisd
c3dd28c510 cargo fmt 2025-01-11 01:01:04 +08:00
weisd
86247e59a0 feat:cros 2025-01-07 22:00:49 +08:00
junxiang Mu
53c1184c1f fix remote err && lock err
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-30 11:38:36 +08:00
junxiang Mu
9e482e9dd4 tmp 5
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-29 20:27:05 +08:00
junxiang Mu
ce4842afd7 tmp 4
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-29 20:25:23 +08:00
weisd
0dbc66af7a cargo fmt 2024-12-26 00:17:41 +08:00
weisd
130a719465 merge main 2024-12-26 00:10:11 +08:00
junxiang Mu
acb6f72ee7 reduce panic function call
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-25 15:01:26 +08:00
weisd
f8f6d7d9be clippy 2024-12-24 20:04:40 +08:00
weisd
cf99ca2cf8 remove openssl dep 2024-12-23 19:58:37 +08:00
junxiang Mu
9c0364b0c3 rewrite decode
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-23 17:46:39 +08:00
junxiang Mu
55583294c9 refactor walk_dir grpc api
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-23 16:21:30 +08:00
junxiang Mu
6af228d82b refactor error framework
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-18 20:50:22 +08:00
weisd
93f06e431e cargo check 2024-12-16 22:20:33 +08:00
weisd
e20f556f37 cargo fmt 2024-12-12 10:13:12 +08:00
junxiang Mu
3cf262afbf rebase main
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-09 15:31:10 +08:00
Nugine
870ab67be4 style: workspace lints (#148)
* fix: clippy error

* style: workspace lints

* test: ignore failures
2024-12-05 15:12:52 +08:00
weisd
eef8271d07 notification_sys base 2024-12-04 10:55:09 +08:00
mujunxiang
5dab98ec49 scanner(2)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-04 10:51:34 +08:00
mujunxiang
6dc0d4e301 scanner status command(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 10:20:41 +08:00
mujunxiang
68799ad044 rebase main
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 16:05:02 +08:00
mujunxiang
1f2cb78b9d heal admin api(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 15:40:22 +08:00
mujunxiang
44f673317f heal admin api(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 15:34:04 +08:00
mujunxiang
e508b6b38e support some peer rest api
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:31:26 +08:00
mujunxiang
de25c7af4b peer rest frame
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:24:22 +08:00
mujunxiang
1b966ecaf6 auto heal(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-19 17:15:37 +08:00
junxiang Mu
c849fac54e auto heal(2)
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-17 18:34:29 +08:00