mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
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>