Commit Graph
85 Commits
Author SHA1 Message Date
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 ca8f399832 format comment 2025-05-27 13:56:19 +08:00
houseme 864071d641 cargo fmt 2025-05-25 17:46:59 +08:00
overtrue 0f1e9d0c63 feat: enhance test coverage for IAM utils and OS utils modules 2025-05-25 14:09:40 +08:00
overtrue df71cea9af refactor: improve test code quality by replacing meaningless names and content 2025-05-25 13:40:54 +08:00
junxiang Mu fd03ba54f3 improve multi put speed
Signed-off-by: junxiang Mu <[email protected]>
2025-05-09 17:13:25 +08:00
junxiang Mu 7a94363b38 improve speed
Signed-off-by: junxiang Mu <[email protected]>
2025-05-08 18:37:36 +08:00
29ddf4dbc8 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 <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
2025-05-07 17:23:22 +08:00
junxiang Mu 7e1135df8f tmp3
Signed-off-by: junxiang Mu <[email protected]>
2025-04-29 10:53:03 +00:00
e9d6e2ca95 feat: improve address binding and port handling mechanism (#366)
* feat: improve address binding and port handling mechanism

1. Add support for ":port" format to enable dual-stack binding (IPv4/IPv6)
2. Implement automatic port allocation when port 0 is specified
3. Optimize server startup process with unified address resolution
4. Enhance error handling and logging for address resolution
5. Improve graceful shutdown with signal listening
6. Clean up commented code in console.rs

Files:
- ecstore/src/utils/net.rs
- rustfs/src/console.rs
- rustfs/src/main.rs

Branch: feature/server-and-console-port

* improve code for console

* improve code

* improve code for console and net.rs

* Update rustfs/src/main.rs

Co-authored-by: Copilot <[email protected]>

* Update rustfs/src/utils/mod.rs

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
2025-04-27 23:44:26 +08:00
weisdandweisd 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
Damonxue 0ed8a8dd19 feat: update file access error handling and improve script downloads
fix: correct file size retrieval in bitrot verification
chore: remove deprecated run.bat and add run.ps1 script
2025-04-08 17:32:12 +08:00
junxiang Mu 83e2c8f69f tmp3
Signed-off-by: junxiang Mu <[email protected]>
2025-03-31 05:46:03 +00:00
weisd 9c666d31f4 fix linux build error 2025-03-26 15:51:06 +08:00
weisd 545ae79e44 move ecsotre/error to common 2025-03-25 17:42:15 +08:00
weisd 70031effa7 use http for remote read/write 2025-03-11 16:12:34 +08:00
weisd 9861361aee fix build target windows check errors 2025-02-10 15:44:21 +08:00
weisd b29b15f3b5 rewrite iam 2025-01-17 17:22:39 +08:00
weisd dfc633dcee fix: #186 multipart upload version 2024-12-29 17:18:26 +08:00
weisd 34b16293ba merge main 2024-12-26 00:10:11 +08:00
shiro.lee f08ec77a73 fix: fix windows compile error 2024-12-24 22:51:50 +08:00
weisd e725c97536 remove openssl dep 2024-12-23 19:58:37 +08:00
junxiang Mu 84953bf15b refactor error framework
Signed-off-by: junxiang Mu <[email protected]>
2024-12-18 20:50:22 +08:00
junxiang Mu 2951b7ef28 tmp1
Signed-off-by: junxiang Mu <[email protected]>
2024-12-18 17:48:43 +08:00
weisd 8ab8201403 test walk_dir done 2024-12-16 22:14:29 +08:00
weisdandweisd a46aaf3f11 test work_dir done 2024-12-16 22:14:29 +08:00
weisd 0e9d552712 AssumeRoleHandle done 2024-12-10 20:35:51 +08:00
mujunxiang d66c22c4a6 tmp(1)
Signed-off-by: mujunxiang <[email protected]>
2024-12-09 15:19:15 +08:00
NugineandGitHub c83d5e1e59 style: workspace lints (#148)
* fix: clippy error

* style: workspace lints

* test: ignore failures
2024-12-05 15:12:52 +08:00
weisd e39775bb34 notification_sys base 2024-12-04 10:55:09 +08:00
weisd eb12c9b005 test StorageInfoHandler 2024-12-03 17:38:52 +08:00
weisd cef786bfe2 fix bug 2024-12-03 11:12:57 +08:00
mujunxiang 78b7551081 fix none import
Signed-off-by: mujunxiang <[email protected]>
2024-12-03 11:11:02 +08:00
mujunxiang f87b2bee95 scanner status command(1)
Signed-off-by: mujunxiang <[email protected]>
2024-12-03 10:20:41 +08:00
weisd 190a674581 init xhost 2024-12-03 10:10:25 +08:00
weisd 43a0a35f22 init NotificationSys 2024-12-02 17:50:11 +08:00
weisd 9f73339e58 init NotificationSys 2024-12-02 17:40:06 +08:00
mujunxiang e95bb4c4d7 heal admin api(3)
Signed-off-by: mujunxiang <[email protected]>
2024-11-30 15:40:22 +08:00
mujunxiang e94d462652 auto heal(3)
Signed-off-by: mujunxiang <[email protected]>
2024-11-19 17:15:37 +08:00
junxiang Mu caad7a38a4 rebase main
Signed-off-by: junxiang Mu <[email protected]>
2024-11-14 10:47:51 +08:00
junxiang Mu be7d1ab0cc tmp(2)
Signed-off-by: junxiang Mu <[email protected]>
2024-11-14 10:30:02 +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 164a7c71cb fix put_object content-length empty 2024-11-09 20:44:16 +08:00
weisd bce600ba10 fix list_objects 2024-11-09 02:52:05 +08:00
weisd 4a9d44ec28 fix linux get_info 2024-11-03 09:48:55 +08:00
weisd 52a81f8fd5 merge versioning, fix buff bitrot 2024-11-02 15:12:06 +08:00
weisd 09ea11c13d merge versioning, fix bug todo 2024-11-02 00:21:10 +08:00
junxiang Mu e6cd184cd6 bitrot test(1)
Signed-off-by: junxiang Mu <[email protected]>
2024-11-01 17:40:14 +08:00