Commit Graph

79 Commits

Author SHA1 Message Date
junxiang Mu 2f487be832 decrease scanner frequency
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 21:11:22 +08:00
junxiang Mu 644698e7ca improve scanner metric
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 21:11:22 +08:00
junxiang Mu 2bad907cc6 improve run_data_scanner
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-05-29 21:11:22 +08: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
weisd e39775bb34 notification_sys base 2024-12-04 10:55:09 +08:00
mujunxiang 9533e312b1 scanner(2)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-04 10:51:34 +08:00
mujunxiang a7a2ae2781 sanner(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-04 10:51:34 +08:00
weisd eb12c9b005 test StorageInfoHandler 2024-12-03 17:38:52 +08:00
mujunxiang 14627a5c2b scanner(2)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 17:05:23 +08:00
mujunxiang 7148c5d5cd sanner(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 15:32:43 +08:00
mujunxiang bedc81e973 scanner status command(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 10:20:43 +08:00
mujunxiang f87b2bee95 scanner status command(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 10:20:41 +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 1a418c74b4 support mc admin heal command
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 21:29:37 +08:00
mujunxiang 26c5ebea53 rebase main
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 16:05:02 +08:00