mirror of
https://github.com/rustfs/rustfs.git
synced 2026-12-02 22:26:21 +00:00
9d30470316
* fix(ecstore): preserve background delete discovery progress Keep the local scan and its in-flight result across scheduling windows. Run bounded native steps under per-disk background admission, and defer genuinely stalled pages so sweeps on healthy drives can proceed. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * perf(ecstore): walk delete discovery directories by descriptor Open the Linux scan root beneath the pinned mount and descend relative to each retained parent directory. Skip ordinary files using directory entry types and validate evidence at its canonical path. Acquire the bucket lease before admitting background disk I/O. Return the page and continuation when a running walk stops cooperatively. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * fix(ecstore): retain delete discovery work across sweeps Keep active discovery pages when hint pressure requests another sweep. Let unopened retries cover their original scopes without bypassing backoff, and finish older cursors before revisiting the same bucket. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * fix(ecstore): yield discovery during bucket identity reads Resolve the bucket incarnation as part of the in-flight page. Drive the bounded metadata read independently so its guard can be released while discovery rotates across disks. Keep the resolved identity attached to the page before admitting any discovered recovery hints. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> --------- Co-authored-by: heihutu <heihutu@gmail.com> Co-authored-by: zhi22915 <qiuzgang@gmail.com> Co-authored-by: qunjiazhu <qunjiazhu@gmail.com>