mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
* filer: fill in a missing parent only where no directory appeared meanwhile A nested create fills in a missing parent directory by looking it up and then inserting a plain directory row. A directory created at that path in between, such as an S3 directory marker carrying its content type and ETag, was overwritten by the upsert and lost its marker. The parent's insert and a directory create now re-check the path under a per-path lock before inserting, so neither replaces the other. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: test a directory created while its parent is filled in Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: keep writes inside a store transaction out of the directory lock A transaction holds its store connection until it commits, and SQLite has only one. A rename creating its destination directory inside one would wait for the directory lock while a nested create holding that lock waits for the connection, so transactional writes no longer take it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: test a directory create that waits for its parent's insert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>