Commit Graph

39 Commits

Author SHA1 Message Date
houseme 749537664f fix:Apply suggestions from clippy 1.88 2025-06-27 18:16:29 +08:00
weisd 7e17d7d729 refactor: improve object listing and version handling
- Refactor find_version_index to accept Uuid directly instead of string
- Split from_meta_cache_entries_sorted into separate methods for versions and infos
- Add support for after_version_id filtering in version listing
- Fix S3 error code for replication configuration not found
- Improve error handling and logging levels
- Clean up import statements and remove debug code
2025-06-24 11:10:23 +08:00
weisd 4559baaeeb feat: migrate to reed-solomon-simd only implementation
- Remove reed-solomon-erasure dependency and all related code
- Simplify ReedSolomonEncoder from enum to struct with SIMD-only implementation
- Eliminate all conditional compilation (#[cfg(feature = ...)])
- Add instance caching with RwLock-based encoder/decoder reuse
- Implement reset mechanism to avoid unnecessary allocations
- Ensure thread safety with proper cache management
- Update documentation and benchmark scripts for SIMD-only approach
- Apply code formatting across all files

Breaking Changes:
- Removes support for reed-solomon-erasure feature flag
- API remains compatible but implementation is now SIMD-only

Performance Impact:
- Improved encoding/decoding performance through SIMD optimization
- Reduced memory allocations via instance caching
- Enhanced thread safety and concurrency support
2025-06-23 10:00:17 +08:00
houseme 48d530cb13 Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
# Conflicts:
#	crates/utils/Cargo.toml
#	ecstore/src/store_list_objects.rs
#	iam/src/manager.rs
#	rustfs/src/admin/rpc.rs
2025-06-20 12:58:47 +08:00
houseme d3cc36f6e0 fix 2025-06-20 10:51:36 +08:00
weisd e145586b65 refactor: reorganize RPC modules into unified structure 2025-06-19 17:06:54 +08:00
houseme e6b019c29d Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/ci.yml
#	Cargo.lock
#	Cargo.toml
#	appauth/src/token.rs
#	crates/config/src/config.rs
#	crates/event-notifier/examples/simple.rs
#	crates/event-notifier/src/global.rs
#	crates/event-notifier/src/lib.rs
#	crates/event-notifier/src/notifier.rs
#	crates/event-notifier/src/store.rs
#	crates/filemeta/src/filemeta.rs
#	crates/notify/examples/webhook.rs
#	crates/utils/Cargo.toml
#	ecstore/Cargo.toml
#	ecstore/src/cmd/bucket_replication.rs
#	ecstore/src/config/com.rs
#	ecstore/src/disk/error.rs
#	ecstore/src/disk/mod.rs
#	ecstore/src/set_disk.rs
#	ecstore/src/store_api.rs
#	ecstore/src/store_list_objects.rs
#	iam/Cargo.toml
#	iam/src/manager.rs
#	policy/Cargo.toml
#	rustfs/src/admin/rpc.rs
#	rustfs/src/main.rs
#	rustfs/src/storage/mod.rs
2025-06-19 13:16:48 +08:00
weisd 52342f2f8e feat(grpc): walk_dir http
fix(ecstore): rebalance loop
2025-06-16 10:32:03 +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 cecde068e1 fix: #421 ignore cancel error 2025-06-09 13:57:38 +08:00
weisd 152ad57c1d Upgrade rand to 0.9.1 2025-06-09 10:22:22 +08:00
weisd 1d2aeb288a Upgrade rand to 0.9.1 2025-06-09 10:13:03 +08:00
weisd 62a7824d0d fix clippy 2025-06-07 15:39:06 +08:00
weisd 9384b831ec ecstore update ec/disk/error 2025-06-06 01:13:51 +08:00
houseme a95138868e improve code 2025-05-27 19:07:09 +08:00
weisd 750194e4dc test 2025-04-28 13:17:06 +08: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
weisd 545ae79e44 move ecsotre/error to common 2025-03-25 17:42:15 +08:00
weisd b29b15f3b5 rewrite iam 2025-01-17 17:22:39 +08:00
weisd bbf2da962e rm unused test 2025-01-14 11:03:12 +08:00
weisd bfe8c5e9bf add walk api, fix: load iam config 2025-01-12 22:36:57 +08:00
weisd dd0a744a3e fix: #137 #186 skip delete marker objects when list object 2024-12-31 16:57:01 +08:00
weisd 450ff132e0 fix: #189 #192 2024-12-29 23:36:10 +08:00
weisd d2c71a5a47 rm test 2024-12-26 09:30:40 +08:00
weisd ff23706b10 marker done, need test 2024-12-25 23:35:41 +08:00
weisd 938df62167 review list_objects 2024-12-24 17:01:37 +08:00
weisd bfd58e5749 fix:#175 add list_object_versions 2024-12-23 23:24:11 +08:00
weisd a40c2e2978 clippy 2024-12-22 11:27:56 +08:00
weisd 5158ca14c9 fix mc ls -r 2024-12-22 05:35:08 +08:00
weisd 34448c9e89 clippy 2024-12-22 05:04:48 +08:00
weisd 13302c3586 list_object v2 use channel, todo other params 2024-12-22 04:57:15 +08:00
weisd 03b84cb0f1 need test merge_entry_channels 2024-12-18 16:57:24 +08:00
weisd 582980fa5d test_list_merge 2024-12-17 17:45:56 +08:00
weisd 2406e14e04 test_list_path done 2024-12-17 16:41:25 +08:00
weisd 4195371a1e test_list_path_raw done 2024-12-17 14:28:37 +08:00
weisd 0cf7c19b96 init metacache io 2024-12-16 22:09:47 +08:00
weisd 2786174ffb rewrite real_meta 2024-12-16 22:09:47 +08:00