mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1987] Sometimes the test_truncate_cache fails on macos #1005
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ggtakec on GitHub (Jul 16, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1987
Version of s3fs being used (s3fs --version)
v1.91
Details about issue
On macos, sometimes test_truncate_cache fails.
I'm currently investigating this issue, but I don't yet know the exact conditions.
Normally, when deleting a directory, FUSE (osxfuse) calls s3fs in the following order.
When s3fs receives a directory deletion, it will fail the operation if the directory is not empty.
If it fails on macos, directory deletion is called during file deletions.
At this time, some file deletion are called even after directory deletion is called.
(I'm not sure, but it seemed to be called in parallel)
I'm investigating the conditions under which this phenomenon occurs.