Commit Graph

508 Commits

Author SHA1 Message Date
weisd 2bd11d476e fix: delete empty dir (#100)
* fix: delete empty dir
2025-07-08 15:08:20 +08:00
junxiang Mu 4e2c4d8dba fix: improve data scanner random sleep calculation
- Fix random number generation API usage
- Adjust sleep calculation to follow MinIO pattern
- Ensure proper random range for scanner cycles

Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-07-08 11:15:06 +08:00
yihong 72aead5466 fix: make ci and local use the same toolchain (#72)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-07 10:40:53 +08:00
yihong abd5dff9b5 fix: make lint build and clippy happy (#71)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-07 09:55:53 +08:00
laoliu dcf25e46af remove target return 204 2025-07-06 07:39:09 +00:00
likewu 2b079ae065 Feature up/ilm (#61)
* fix delete-marker expiration. add api_restore.
2025-07-06 12:31:08 +08:00
houseme 96d22c3276 Refactor(server): Encapsulate service creation within connection handler
Move the construction of the hybrid service stack, including all middleware and the RPC service, from the main `run` function into the `process_connection` function.

This change ensures that each incoming connection gets its own isolated service instance. This improves modularity by making the connection handling logic more self-contained and simplifies the main server loop.

Key changes:
- The `hybrid_service` and `rpc_service` are now created inside `process_connection`.
- The `run` function's responsibility is reduced to accepting TCP connections and spawning tasks for `process_connection`.
2025-07-04 01:33:16 +08:00
houseme c6527643a3 merge 2025-07-03 17:35:02 +08:00
weisd 6983a3ffce feat: change default listen to IPv4 and add panic recovery (#36) 2025-07-03 13:51:38 +08:00
houseme 5826396cd0 refactor: Restructure project layout and clean up dependencies (#30)
This commit introduces a significant reorganization of the project structure to improve maintainability and clarity.

Key changes include:
- Adjusted the directory layout for a more logical module organization.
- Removed unused crate dependencies, reducing the overall project size and potentially speeding up build times.
- Updated import paths and configuration files to reflect the structural changes.
2025-07-02 19:33:12 +08:00
weisd bf690ad353 feat: improve ImportBucketMetadata handle (#26)
* feat: improve ImportBucketMetadata handle
2025-07-02 16:31:16 +08:00
houseme 2e14b32ccd chore: Add copyright and license headers (#23)
* chore: Add copyright and license headers

This commit adds the Apache 2.0 license and a copyright notice to the header of all source files. This ensures that the licensing and copyright information is clearly stated within the codebase.

* cargo fmt

* fix

* fmt

* fix clippy
2025-07-02 15:07:47 +08:00
houseme cb19bbef22 fix:Apply suggestions from clippy 1.88 (#20) 2025-07-02 12:14:22 +08:00
weisd 68bc59c6eb fix: route conflict 2025-07-02 10:35:50 +08:00
weisd 7c79d4c1ca feat: add ImportBucketMetadata handler 2025-07-01 21:47:28 +08:00
houseme 3c9ed62bbb improve code 2025-07-01 20:57:58 +08:00
weisd cf7a930d39 todo 2025-07-01 17:26:47 +08:00
houseme e641036cda add router 2025-07-01 17:17:44 +08:00
weisd c8868a47d7 fix: resolve Send trait issue in ImportBucketMetadata async function 2025-07-01 16:41:24 +08:00
weisd 9d74f56f57 feat: add ExportBucketMetadata handler 2025-07-01 15:23:53 +08:00
weisd ddf19b3444 fix: fmt 2025-07-01 13:05:33 +08:00
houseme 18a3902d2c feat(admin): enhance notification event handlers (#530)
* add log

* add logs

* test

* cargo fmt

* add event admin api

* feat: add ImportIam handle

* refact bucket replication

* Update ecstore/src/disk/endpoint.rs

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

---------

Co-authored-by: weisd <weishidavip@163.com>
Co-authored-by: lygn128 <lygn128@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-01 12:34:24 +08:00
lygn128 f62db65a39 refact bucket replication 2025-07-01 04:08:02 +00:00
weisd f069790a72 feat: add ImportIam handle 2025-07-01 11:37:10 +08:00
weisd 2b1241de96 fix: fmt 2025-07-01 10:17:20 +08:00
weisd fff2bc6523 fix: router 2025-07-01 09:43:22 +08:00
houseme 57c8c76e58 add notify 2025-06-30 22:48:09 +08:00
weisd c5358ba62c fix: clippy 2025-06-30 22:47:06 +08:00
weisd c63c6187c5 fix: clippy 2025-06-30 22:38:29 +08:00
weisd 2fe0c8cd32 fix: clippy 2025-06-30 22:04:12 +08:00
weisd e9610f1fb7 feat: add IAM export/import
- Add complete IAM configuration export/import functionality with ZIP format
- Add new API endpoints for IAM backup and restore operations
2025-06-30 22:01:07 +08:00
weisd e4971b6d83 fix: resolve clippy warnings for inherent to_string method shadowing Display trait 2025-06-30 21:51:19 +08:00
weisd 0606d3fc29 config: enable console server by default
- Change console_enable default value from false to true
- This makes the console server available by default for better user experience
- Users can still disable it by setting RUSTFS_CONSOLE_ENABLE=false
2025-06-30 21:36:38 +08:00
安正超 8e75ea07e7 Merge pull request #521 from rustfs/feature-fix/ilm
fix
2025-06-30 21:05:11 +08:00
likewu a96f352fa7 fix 2025-06-30 18:16:15 +08:00
houseme f46ffd8885 fix: modify config obs_endpoint comment 2025-06-28 17:19:10 +08:00
likewu f30345aaa8 fix 2025-06-28 15:48:35 +08:00
likewu f38108d20d fix format 2025-06-28 14:34:21 +08:00
likewu 4ed84a6bc4 separate signer.
fix ilm feature.
2025-06-28 14:33:22 +08:00
houseme 7bd8431006 cargo fmt 2025-06-27 18:53:51 +08:00
houseme 749537664f fix:Apply suggestions from clippy 1.88 2025-06-27 18:16:29 +08:00
houseme 35489ea352 fix 2025-06-27 17:47:59 +08:00
houseme bd5d27ffbd fix 2025-06-27 17:32:30 +08:00
houseme b2610df635 fix 2025-06-27 17:02:01 +08:00
houseme f4014a56b6 improve code and comment 2025-06-27 16:50:29 +08:00
houseme 33e5d5a14c fix:more platform 2025-06-27 15:37:17 +08:00
DESKTOP-L0UFILQ\zhigang dbe27dc9cd fix 2025-06-27 12:40:52 +08:00
houseme ca30b78a1b fix:shutdown 2025-06-27 12:37:11 +08:00
houseme ce7cfedfcb improve code for platform 2025-06-27 11:44:07 +08:00
houseme 2698d3aa10 fix/event (#514)
* improve code for notify

* fix

* cargo fmt

* improve code and create `DEFAULT_DELIMITER`

* fix

* fix

* improve code for notify

* fmt

* Update crates/notify/src/registry.rs

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

* Update crates/notify/src/factory.rs

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

* fix cllipy

* fix

* fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-27 09:41:29 +08:00