Files
rustfs/crates/lock
GatewayJ 7c15d2cc71 fix(ecstore,s3vectors): preserve rebalance revisions and multipool CAS (#9819)
* fix(ecstore,s3vectors): preserve logical body revision across rebalance, serialize multipool CAS, and isolate S3 metrics

- Preserve x-rustfs-internal-logical-body-revision-v1 across pool rebalance/decommission and same-key metadata-only CopyObject while stripping forged headers on ordinary writes/uploads (#3).
- Enforce multi-pool unversioned If-None-Match / If-Match CAS at post-body commit after an unlocked cross-pool pre-body fast-fail check, keeping concurrent reads unblocked during streaming uploads (backlog#2074, #8).
- Include s3tables and s3vectors in DECOMMISSION_META_PREFIXES (#5) and omit unconfigured default s3vectors_maintenance from persisted config blobs (#10).
- Add 60s NTP skew tolerance + monotonic timestamp clamping on maintenance heartbeats/retirement receipts (#9), preserve catalog error categories (#18), and log first_error/manual_review (#19).
- Release ManagedObjectMultipartSession mutex across part uploads (#37b), exempt ephemeral query-results/*.session cursors from user bucket quota (#47a), and suppress ordinary S3 rustfs_io_metrics on internal managed Vector I/O (#56a).

* fix(ecstore): preserve conditional writes and managed quota accounting

* fix(ecstore): unify multi-pool object publication

* fix(ecstore): reduce the size of the read-repair lock guard

* test(ecstore): isolate object read failures during decommission

* fix(ecstore): validate multipart replacements across pools
2026-12-03 00:36:49 +08:00
..
2025-12-08 11:23:24 +08:00

RustFS

RustFS Lock - Distributed Locking

High-performance distributed locking system for RustFS object storage

CI 📖 Documentation · 🐛 Bug Reports · 💬 Discussions


📖 Overview

RustFS Lock provides distributed locking capabilities for the RustFS distributed object storage system. For the complete RustFS experience, please visit the main RustFS repository.

✨ Features

  • Distributed lock management across cluster nodes
  • Read-write lock support with concurrent readers
  • Lock timeout and automatic lease renewal
  • Deadlock detection and prevention
  • High-availability with leader election
  • Performance-optimized locking algorithms

📚 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.