Commit Graph

32 Commits

Author SHA1 Message Date
weisd 20054d0a56 fix: simplify filemeta MessagePack serialization and improve code quality
- Refactor `unmarshal_msg` to use `rmp_serde::from_slice` instead of manual parsing
- Add serde field renaming attributes to `FileMetaVersion` struct
- Remove 428 lines of manual MessagePack parsing code
- Improve string comparison using `!object.is_empty()` instead of `object != ""`
- Update volume directory numbering in run script from test{0..4} to test{1..4}
- Clean up unused imports and code

Fixes #517
2025-06-29 22:39:36 +08:00
likewu f30345aaa8 fix 2025-06-28 15:48:35 +08:00
likewu 4d86866d61 fix 2025-06-28 14:54:01 +08:00
likewu 4ed84a6bc4 separate signer.
fix ilm feature.
2025-06-28 14:33:22 +08:00
houseme 749537664f fix:Apply suggestions from clippy 1.88 2025-06-27 18:16:29 +08:00
weisd 61e600b9ba fix clippy 2025-06-25 11:13:29 +08:00
likewu 364c3098b2 Fix/main (#508)
* fix error

* fix

* fix cargo

* fix openssl cfg

* fix clippy

* fix clippy

* fix

* fix clippy

* fix clippy
2025-06-24 10:27:41 +08:00
weisd a0f8b2f2be Merge pull request #503 from rustfs/refactor/unify-bucket-metadata-errors
refactor(ecstore): simplify bucket metadata error handling by using C…
2025-06-23 17:05:35 +08:00
weisd 317cadaed8 refactor(ecstore): simplify bucket metadata error handling by using ConfigNotFound
- Remove specific bucket metadata error variants (BucketPolicyNotFound, etc.)
- Unify all configuration-not-found errors to use StorageError::ConfigNotFound
- Simplify error handling in bucket metadata system by removing redundant error conversions
- Clean up error matching patterns in metadata getter methods
- Remove debug print statement from get_bucket_targets_config
- Update error handling in S3 API layer to use unified ConfigNotFound error

This change improves code maintainability by reducing error type complexity
while preserving the same error semantics for API consumers.
2025-06-23 17:04:14 +08:00
likewu 2c176dd864 fix clippy 2025-06-23 12:03:46 +08:00
likewu cc71f40a6d ilm feature add 2025-06-22 23:04:40 +08:00
overtrue 7b890108ee fix: correct spelling errors in error messages and variable names 2025-06-10 21:21:03 +08:00
weisd 91c099e35f add Error test, fix clippy 2025-06-09 11:29:23 +08:00
weisd 62a7824d0d fix clippy 2025-06-07 15:39:06 +08:00
weisd c589972fa7 mc test ok 2025-06-06 16:15:26 +08:00
weisd db355bb26b todo 2025-06-06 11:35:27 +08:00
weisd 9384b831ec ecstore update ec/disk/error 2025-06-06 01:13:51 +08:00
weisd 545ae79e44 move ecsotre/error to common 2025-03-25 17:42:15 +08:00
weisd 4195371a1e test_list_path_raw done 2024-12-17 14:28:37 +08:00
weisd 0e9d552712 AssumeRoleHandle done 2024-12-10 20:35:51 +08:00
junxiang Mu a0e37098bb fix clippy
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-10-12 14:09:52 +08:00
weisd 3d6172c544 opt 2024-09-27 09:05:38 +08:00
weisd 4f1e31999d update stock api 2024-09-25 15:27:23 +08:00
weisd dbb6980e96 fix quorum err 2024-09-24 10:39:12 +08:00
shiro.lee 7b8c11ecf3 fix: 去除anyhow提供的错误处理,统一使用自定义的Error和Result 2024-08-05 18:48:45 +08:00
shiro.lee a5f9b392ed fix: 调整错误处理 2024-08-05 08:53:45 +08:00
shiro.lee 18b07128fc fix: 优化endpoint 2024-07-04 18:31:08 +08:00
weisd ace3fbdfa0 todo:Error 2024-07-02 16:03:26 +08:00
weisd 8d820c3096 init:store 2024-06-27 18:18:38 +08:00
weisd d3714de65b run init 2024-06-25 17:33:46 +08:00
weisd 92d6b07578 run init 2024-06-25 16:22:14 +08:00
weisd 0a9f06096b rename ecstore 2024-06-25 15:45:21 +08:00