mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
* s3_objectlock: read each listing page before scanning its subdirectories The scan listed a subdirectory while the parent listing was still open. On a store with one connection, such as SQLite, a parent page that filled its stream window kept the connection the child listing needed. Pages now skip chunk lists, since only the lock metadata is read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3_objectlock: scan names that contain a backslash With backslashes allowed in object keys, a key such as a\b is stored under that name. The scan skipped it, and every key below such a prefix, as if the name were a path separator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3_objectlock: scan keys below a .uploads prefix The scan skipped every directory named .uploads, so an object stored below a key prefix such as a/.uploads/ was never checked. It now skips only the directories of pending multipart uploads, whose lock settings belong to an object that does not exist yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3_objectlock: keep only what the scan reads in a buffered page A page now stays in memory while its subdirectories are scanned, and a listing still carries the contents of files stored inline in the filer. A page keeps only each entry's name, directory flag and extended attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3_objectlock: scan objects stored below a pending upload directory A key such as .uploads/<upload id>/c is an ordinary object, and the scan skipped it along with the upload directory it sits in. The scan now descends into upload directories and ignores only the lock settings an upload directory holds for its future object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3_objectlock: exempt upload directories only while under .uploads A renamed upload directory keeps its multipart key, so outside .uploads it is checked like any other directory marker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>