[GH-ISSUE #1987] Sometimes the test_truncate_cache fails on macos #1005

Closed
opened 2026-03-04 01:50:34 +03:00 by kerem · 0 comments
Owner

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.

  • Delete each file in the directory
  • Delete directory
    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.

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. - Delete each file in the directory - Delete directory 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.
kerem closed this issue 2026-03-04 01:50:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1005
No description provided.