mirror of
https://github.com/rustfs/rustfs.git
synced 2026-11-23 08:27:14 +00:00
a984f42b0b
* fix(replication): stop re-sending existing objects every scan cycle Existing objects on a site-replication source were re-queued and re-sent on every scanner cycle, so the replica kept rewriting the same versions and its reported bucket size grew while the object count stayed flat. Two defects combined: - The per-target resync stamp was computed by the worker but never written back to the source object, so the resync decision kept returning "replicate" for every object older than the reset date. The status writeback now persists the stamp under both internal metadata prefixes, and a successful full-object send of an existing object is stamped as well. - The target HEAD only reported the tag count, so the tag comparison always saw a difference for tagged objects and fell back to a full re-send. The replication HEAD now sends x-amz-tagging-directive: ACCESS and the server answers with the tag set under the same authorization as the tag count. Targets that do not return the tag set still compare as different, which costs one extra send instead of a loop. Also drop replicate_all_stat_options, which built the directive but was never passed to the HEAD call. Refs #9354 * test(replication): use relative paths in the resync stamp test
RustFS Utils - Utility Functions
Essential utility functions and common tools for RustFS distributed object storage
📖 Documentation
· 🐛 Bug Reports
· 💬 Discussions
📖 Overview
RustFS Utils provides essential utility functions and common tools for the RustFS distributed object storage system. For the complete RustFS experience, please visit the main RustFS repository.
✨ Features
- Cross-platform system operations and monitoring
- File system utilities with atomic operations
- Multi-algorithm compression and encoding support
- Cryptographic utilities and secure key generation
- Network utilities and protocol helpers
- Certificate handling and validation tools
📚 Documentation
For comprehensive documentation, examples, and usage guides, please visit the main RustFS repository.
📄 License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
