Files
rustfs/crates/scanner
houseme 050ae3ed81 feat(scanner): send scoped dirty usage acknowledgements
Bind dirty usage snapshots to storage owner and bucket incarnation IDs, then route completed dirty-scope scans through scoped peer acknowledgements instead of whole-generation clears.

Keep mixed-version and high-cardinality cases conservative by probing scoped ACK capability, capping automatic scoped activation to one protocol batch, and falling back to full-scan generation ACK when the scoped path is not clearly supported.

Co-Authored-By: heihutu <heihutu@gmail.com>

Co-Authored-By: zhi22915 <qiuzgang@gmail.com>
2026-09-07 02:19:35 +08:00
..

RustFS Scanner

RustFS Scanner is the background maintenance scan loop. It handles usage accounting, lifecycle expiry and transition admission, bucket replication repair admission, scanner-driven heal/bitrot checks, and namespace alerts.

For operator-facing runtime controls, status fields, and tuning workflows, see Scanner Runtime Controls. For repeatable scanner-pressure validation, see Scanner Benchmark Runbook.

Chinese documentation is available in README.zh-CN.md.

Development

Build

cargo build --package rustfs-scanner

Test

cargo test --package rustfs-scanner

License

Apache License 2.0