Commit Graph

1415 Commits

Author SHA1 Message Date
houseme 831cb0b6d9 Feature/event: Optimize and Enhance Notify Crate Functionality (#512)
* 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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-26 12:24:00 +08:00
weisd 61e600b9ba fix clippy 2025-06-25 11:13:29 +08:00
weisd 280d14997a Merge pull request #511 from rustfs/feat/trash
moved to the trash and automatically cleaned up in the background
2025-06-25 10:12:41 +08:00
weisd 7a7ca6e154 moved to the trash and automatically cleaned up in the background 2025-06-25 10:08:09 +08:00
houseme 37b4ab935d improve code for tls 2025-06-24 23:51:08 +08:00
houseme 39a290e061 improve code for docker 2025-06-24 23:27:29 +08:00
weisd a6cfb04453 test: tls error 2025-06-24 23:16:45 +08:00
loverustfs a99e8543db Close Global Acceleration 2025-06-24 23:02:52 +08:00
loverustfs d72da751c8 Add OSS-Util Global Acceleration 2025-06-24 22:45:45 +08:00
loverustfs 3579bd1bb5 Add Global Acceleration 2025-06-24 22:43:39 +08:00
loverustfs 746b29a641 add OSS_REGION: cn-beijing 2025-06-24 22:37:48 +08:00
loverustfs ca18177e59 add OSS_REGION 2025-06-24 22:33:43 +08:00
weisd 65fb1b5f8d Merge pull request #509 from rustfs/feat/improve-object-listing
refactor: improve object listing and version handling
2025-06-24 11:13:28 +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
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
houseme e8a5b5d12c improve flexi_logger relation 2025-06-24 09:19:26 +08:00
likewu 3d5bf5a6d6 Fix/main (#506) 2025-06-23 19:27:00 +08:00
likewu 46c50b1bb1 Fix/main (#505)
* fix error

* fix

* fix cargo
2025-06-23 18:51:31 +08:00
houseme 833f9c908f fix: remove crate 2025-06-23 18:02:54 +08:00
houseme caf8d80318 fix (#504) 2025-06-23 17:30:40 +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
loverustfs 8690e4a3ef Merge pull request #500 from rustfs/feature/ilm
Feature/ilm
2025-06-23 16:48:54 +08:00
likewu 005881f838 Merge branch 'main' of https://github.com/rustfs/s3-rustfs into feature/ilm
# Conflicts:
#	rustfs/src/storage/ecfs.rs
2025-06-23 16:44:37 +08:00
likewu 81f0c9763f Merge branch 'main' of https://github.com/rustfs/s3-rustfs into feature/ilm
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/utils/Cargo.toml
#	crates/utils/src/net.rs
#	ecstore/Cargo.toml
#	ecstore/src/set_disk.rs
#	rustfs/src/storage/ecfs.rs
2025-06-23 16:42:18 +08:00
weisd 811d1a598b Merge pull request #502 from rustfs/fix/copy_object_compress
fix: support compression in copy object operation and improve metadata handling
2025-06-23 16:33:19 +08:00
weisd 17076a56b3 fix clippy 2025-06-23 16:27:14 +08:00
weisd 34ec13e532 change objectinfo metadata use HashMap
add copyobject compresss support

fix listobject size use actual_size
2025-06-23 16:24:11 +08:00
loverustfs dc93398768 Merge pull request #501 from rustfs/feature/observability-metrics
Feature/notify
2025-06-23 15:11:51 +08:00
houseme 4654ba0937 fix 2025-06-23 14:54:09 +08:00
houseme de3773fbbc Update crates/notify/src/rules/config.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-23 14:32:28 +08:00
houseme 3817d2d682 Update crates/notify/src/integration.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-23 14:32:16 +08:00
houseme 7b2e5aa0ae remove 2025-06-23 13:56:21 +08:00
houseme 270047f47a fix 2025-06-23 13:38:31 +08:00
houseme 744bcfc4a9 Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
# Conflicts:
#	crates/notify/src/event.rs
#	crates/notify/src/global.rs
#	crates/notify/src/integration.rs
#	crates/notify/src/notifier.rs
2025-06-23 13:33:25 +08:00
houseme 7bb7f9e309 improve code notify 2025-06-23 12:47:58 +08:00
likewu 2c176dd864 fix clippy 2025-06-23 12:03:46 +08:00
weisd 0178ec5026 Merge pull request #499 from rustfs/feat/migrate-to-simd-only
Feat/migrate to simd only
2025-06-23 10:32:32 +08:00
weisd 5a5712fde0 fix clippy 2025-06-23 10:28:57 +08:00
weisd 080af2b39f refactor(benches): update benchmarks to use SIMD-only implementation
- Remove all conditional compilation (#[cfg(feature = "reed-solomon-simd")])
- Rewrite erasure_benchmark.rs to focus on SIMD performance testing
- Transform comparison_benchmark.rs into SIMD performance analysis
- Update all documentation and comments to English
- Remove references to reed-solomon-erasure implementation
- Streamline benchmark groups and test configurations
- Add comprehensive SIMD-specific performance tests

Breaking Changes:
- Benchmarks no longer compare different implementations
- All benchmarks now test SIMD implementation exclusively
- Benchmark naming conventions updated for clarity

Performance Testing:
- Enhanced shard size sensitivity analysis
- Improved concurrent performance testing
- Added memory efficiency benchmarks
- Comprehensive error recovery analysis
2025-06-23 10:12:45 +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
loverustfs 1722780560 Merge pull request #498 from rustfs/feature/observability-metrics
Feat(notify): Notify module
2025-06-23 09:32:16 +08:00
houseme 5155a3d544 fix 2025-06-23 04:15:05 +08:00
houseme 928453db62 improve code for notify 2025-06-23 03:34:05 +08:00
likewu cc71f40a6d ilm feature add 2025-06-22 23:04:40 +08:00
houseme c7af6587f5 trace log use local time and get custom user agent 2025-06-22 10:31:32 +08:00
houseme e0f65e5e24 improve code for notify 2025-06-21 10:35:07 +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 3721c93a55 Merge pull request #492 from rustfs/refactor/rpc-module-reorganization
refactor: reorganize RPC modules into unified structure
2025-06-19 17:10:19 +08:00