Commit Graph

76 Commits

Author SHA1 Message Date
junxiang Mu 7e1135df8f tmp3
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-29 10:53:03 +00:00
houseme 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 <175728472+Copilot@users.noreply.github.com>

* Update rustfs/src/utils/mod.rs

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-27 23:44:26 +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
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 <1948535941@qq.com>
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 <1948535941@qq.com>
2024-12-18 20:50:22 +08:00
junxiang Mu 2951b7ef28 tmp1
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-18 17:48:43 +08:00
weisd 8ab8201403 test walk_dir done 2024-12-16 22:14:29 +08:00
weisd 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 <1948535941@qq.com>
2024-12-09 15:19:15 +08:00
Nugine 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 <1948535941@qq.com>
2024-12-03 11:11:02 +08:00
mujunxiang f87b2bee95 scanner status command(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
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 <1948535941@qq.com>
2024-11-30 15:40:22 +08:00
mujunxiang e94d462652 auto heal(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-19 17:15:37 +08:00
junxiang Mu caad7a38a4 rebase main
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-14 10:47:51 +08:00
junxiang Mu be7d1ab0cc tmp(2)
Signed-off-by: junxiang Mu <1948535941@qq.com>
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 <1948535941@qq.com>
2024-11-01 17:40:14 +08:00
junxiang Mu edb1e692f1 bitrot(1)
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-01 17:40:14 +08:00
junxiang Mu 49593dd77d Cross platform get_info
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-01 17:40:14 +08:00
junxiang Mu 76fb6775d1 heal object
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-01 17:40:14 +08:00
junxiang Mu 3f2772c74c healing tracker
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-01 17:40:14 +08:00
junxiang Mu a0e37098bb fix clippy
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-10-12 14:09:52 +08:00
weisd 81dc3d4404 done bucket policy, need test 2024-10-12 00:41:03 +08:00
weisd 22463c9eb1 get/put BucketVersionin done 2024-10-10 09:40:30 +08:00
weisd 1bbd5168c9 add versioning_sys 2024-10-09 20:45:34 +08:00
weisd 03e3c8fb70 opt: rename_data 2024-09-26 23:45:29 +08:00