Commit Graph

91 Commits

Author SHA1 Message Date
weisd e145586b65 refactor: reorganize RPC modules into unified structure 2025-06-19 17:06:54 +08:00
loverustfs 65ff5faada Merge pull request #480 from rustfs/feat/compress
feat: add object compression support
2025-06-17 20:20:45 +08:00
Nugine e520299c4b refactor(ecstore): DiskAPI::write_all use Bytes 2025-06-17 16:22:55 +08:00
weisd c48ebd5149 feat: add compress support 2025-06-17 15:06:40 +08:00
weisd e8a59d7c07 move disk::utils to crates::utils 2025-06-11 15:55:40 +08:00
weisd f85ef06783 merge main 2025-06-09 15:31:11 +08:00
weisd 91c099e35f add Error test, fix clippy 2025-06-09 11:29:23 +08:00
weisd 1d2aeb288a Upgrade rand to 0.9.1 2025-06-09 10:13:03 +08:00
houseme 1f62c35846 cargo fmt 2025-06-06 15:30:27 +08:00
houseme 8c15835414 fix cargo.toml 2025-06-06 12:11:08 +08:00
weisd 9384b831ec ecstore update ec/disk/error 2025-06-06 01:13:51 +08:00
lygn128 3c7b66e039 bucket replication 2025-06-05 14:26:42 +00:00
junxiang Mu f9310f0b97 decrease scanner frequency
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 03:17:54 +00:00
junxiang Mu 059a546604 improve scanner metric
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 03:17:54 +00:00
junxiang Mu 581eb6641c improve run_data_scanner
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 03:17:54 +00:00
houseme a95138868e improve code 2025-05-27 19:07:09 +08:00
houseme ade4d33eb1 fix typo 2025-05-27 16:56:44 +08:00
weisd d7cac5c727 Merge branch 'main' into dada/fix-entry 2025-05-09 14:33:30 +08:00
houseme 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 <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-07 17:23:22 +08:00
weisd 750194e4dc test 2025-04-28 13:17:06 +08:00
weisd 87bec2e6a6 fix rebalance/decom 2025-04-26 22:55:37 +08:00
junxiang Mu 8e3c22b595 fix
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-25 08:59:39 +00:00
junxiang Mu 4613b36697 fix
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-24 08:41:40 +00:00
weisd cffd4fc28d merge fix/pools 2025-04-23 16:48:57 +08:00
guojidan ad7ff448d6 Merge pull request #348 from rustfs/fix-data-scan
fix
2025-04-23 16:28:12 +08:00
junxiang Mu 8981dfae9f fix
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-23 07:26:37 +00: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
houseme e4453adf82 feat(event-notifier): improve environment variable handling
- Fix deserialization error when parsing config from environment variables
- Add proper array format support for adapters configuration
- Update environment variable examples with correct format
- Improve documentation for configuration loading
- Implement helper functions for environment variable validation

This change fixes the "invalid type: map, expected a sequence" error
by ensuring proper formatting of array-type fields in environment variables.
2025-04-22 20:31:38 +08:00
weisd 59c008b0ee fix pool select idx 2025-04-22 09:07:43 +08:00
junxiang Mu cefdf4d6f9 fix datascanner
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-14 02:18:40 +00:00
weisd 0c435c6a05 add admin policy check for user operation 2025-04-11 10:46:36 +08:00
weisd 3dbdd38889 rm log 2025-04-08 22:31:44 +08:00
houseme f2692b78dd TryInto cover 2025-03-31 18:32:22 +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 05af5d7ddf check 2025-01-21 17:49:55 +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
junxiangMu 535ab137f4 Merge pull request #195 from rustfs/wip-dandan
fix remote err && lock err
2024-12-30 11:39:24 +08:00
junxiang Mu c749cda90d fix remote err && lock err
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-30 11:38:36 +08:00
junxiangMu 4d7848fa3b Merge pull request #190 from rustfs/wip-dandan
fix heal
2024-12-29 20:35:29 +08:00
junxiang Mu f52882ede6 remove debug info
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-29 20:34:39 +08:00
junxiang Mu 874679e65d tmp 2
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-29 17:43:51 +08:00
junxiang Mu 57f0370ab8 tmp1
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-29 17:43:51 +08:00
bestgopher 2126c36a73 test(iam): add policy_is_allowed 2024-12-29 16:25:06 +08:00
junxiang Mu f472c16e8a add auto fix disk
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-19 17:27:16 +08:00
junxiang Mu fac0feeeaa add down object heal
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-19 17:26:43 +08:00
junxiang Mu 008919cdfa rebase main
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-09 15:31:10 +08:00
mujunxiang d66c22c4a6 tmp(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-09 15:19:15 +08:00
weisd 25e0151d0f Merge branch 'main' into feat/notification_sys 2024-12-04 11:00:37 +08:00