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>
This commit is contained in:
houseme
2026-09-07 01:17:50 +08:00
parent 536c283716
commit 050ae3ed81
22 changed files with 728 additions and 109 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
1|crates/ecstore/src/object_api/types.rs
3|crates/ecstore/src/runtime/sources.rs
4|crates/ecstore/src/services/batch_processor.rs
14|crates/ecstore/src/services/notification_sys.rs
13|crates/ecstore/src/services/notification_sys.rs
16|crates/ecstore/src/services/rebalance/control.rs
1|crates/ecstore/src/services/rebalance/entry.rs
8|crates/ecstore/src/services/rebalance/meta.rs