
Moving Towards a Stable Release: RustFS 1.0.0-rc.3 is Now Available
As an open-source, high-performance and memory-safe S3-compatible object storage project built on the Rust language, RustFS recently released version 1.0.0-rc.3 (Release Candidate 3).
Related tags
As a Rust-based, open-source S3-compatible object storage project focused on high performance and memory safety, RustFS recently released version 1.0.0-rc.3 (Release Candidate 3).
After undergoing a series of intense iterations in Beta and earlier RC versions, 1.0.0-rc.3 focuses on key improvements to the core storage engine (ecstore) performance, enhanced self-healing and repair mechanisms (Heal/Scanner), cross-site replication, and expanded enterprise-level Key Management System (KMS).
This article provides a comprehensive overview of the major new features and technical improvements in RustFS 1.0.0-rc.3.
I. Enhanced Storage Engine (ecstore) and I/O Performance
RustFS is known for its high concurrency and extremely low latency. In version rc.3, the development team has made deeper performance tweaks to both data read/write paths and the erasure coding storage layer:
Early-Stop Reads:
- Enabling early-stop mechanism by default (perf(ecstore): enable inline data read early-stop by default) for small objects, significantly reducing unnecessary disk and shard I/O overhead.
- Deferring pending inline data shards to further optimize memory and CPU resource allocation during high-concurrency reads of small files.
- Adding a mechanism to report reasons for missed early-stops (feat(ecstore): report inline early-stop miss reasons) to facilitate precise diagnostics by operations and development teams when tracking read cache misses or early-stop skips.
Optimized Read Paths and Allocation:
- Optimizing the memory Body stream wrapper (perf(get): avoid memory body stream wrapper) to reduce secondary memory allocation during GET requests.
- Reducing I/O overhead and meta object key allocations (perf(filemeta): reduce meta object key allocations) to minimize GC/memory jitter in high-throughput scenarios.
PUT Gate Control and Self-Check:
- Adding an optional PUT request admission gate (feat(storage): add default-off PUT admission gate) to prevent potential overload of storage nodes due to sudden, high volumes of concurrent writes.
- Initiating self-tests for Bitrot algorithms during service startup (feat(ecstore): pin bitrot algorithms with a startup self-test) to verify hardware and software consistency, ensuring data integrity from the ground up.
II. Strengthened Self-Healing (Heal) and Background Scanning (Scanner) Mechanisms
Self-healing capabilities in object storage are essential for preventing silent data corruption and ensuring high availability.
Durable Repair Journal:
- Combining MRF (Missing Routine Format) intents with a durable repair journal (feat(heal): wire MRF intents with durable repair journal) to ensure that incomplete repair tasks can be accurately re-transmitted, even after node restarts or network interruptions, without repeating repairs.
Timeout Budget and Concurrency Protection:
- Preserving timeout budget across retries (fix(heal): preserve timeout budget across retries) in self-healing tasks to prevent deadlocks caused by repeated timeouts.
- Locking concurrency invariants for heal vs. delete/overwrite operations (test(heal): lock heal vs delete/overwrite race invariants) to ensure data consistency when concurrent delete/overwrite operations and the background Heal process interact.
More Intelligent Log and Management APIs:
- Adding context to corrupt metadata logs (fix(scanner): add context to corrupt metadata logs).
- Introducing an Admin client with SigV4 signatures for Heal and Scanner APIs, enabling automated tools to safely trigger and manage scan and repair jobs.
III. Cross-Site Replication and Cluster Consistency Repair
In multi-cluster and cross-region replication scenarios, version rc.3 addresses key edge cases:
- Improved Node Counting: When a rejoined site (Rejoined Site) restarts, its edit counter is automatically incremented to cover stale marks, preventing cluster synchronization status from getting stuck.
- ILM Expiry Document Merging: Instead of overwriting incoming ILM expiry documents during cross-site replication, the process has been changed to incremental merging (“instead of overwriting”) to prevent concurrent configuration changes from being accidentally deleted.
- Enhanced Peer Node Isolation and Write Pool Query Isolation: Comprehensive strengthening of peer node isolation, write pool query isolation, and bulk delete source pool isolation during rebalancing processes to prevent inconsistencies during rebalancing.
IV. Enhanced Security and Key Management (KMS)
In terms of security, RustFS has further expanded support for cloud-native environments and hardware/external KMS:
- Vault & Kubernetes Authentication: Enabling HashiCorp Vault authentication from the environment at startup and adding native support for Kubernetes service account authentication (K8s ServiceAccount Auth), simplifying key configuration in K8s environments.
- Unified SSE Data Key Management: Decoupling the ecstore from KMS lifecycle binding, providing a clearer and more robust path for server-side encryption (SSE).
V. Deployment and Engineering Improvements
In addition to core feature upgrades, the project team has also made several improvements in engineering quality and cloud-native deployment:
- Helm Chart Upgrade: Synchronized release of Helm Chart 1.0.0-rc.3, including automatic injection and control of RUSTFS_LOCAL_ENDPOINT_HOST, further simplifying the experience of building distributed topologies in K8s clusters.
- Codebase Cleanup and Refactoring: Removing a large number of unnecessary dead code (blanket settings) and further decoupling and Lint constraints for low-level modules.
- CI/CD Strengthening: Locking Docker image build sources, optimizing single test and end-to-end (E2E) testing environments with temporary port reuse.
Conclusion and Outlook
The release of RustFS 1.0.0-rc.3 marks a significant step forward for this project in its journey towards a stable version (1.0.0 GA). Whether it’s the ultra-fast read performance of small files, the robustness of self-healing mechanisms, or seamless integration with cloud-native K8s/KMS environments, rc.3 demonstrates an exceptionally high level of engineering accomplishment.
If you are currently evaluating or using RustFS, we recommend upgrading to 1.0.0-rc.3 to experience improved read performance and enhanced self-healing capabilities.
- Project: https://github.com/rustfs/rustfs
- Release page: https://github.com/rustfs/rustfs/releases/tag/1.0.0-rc.3
More News
Want to see more quality content?
Browse all news