mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1854] Check return value from close #944
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#944
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 @gaul on GitHub (Jan 12, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1854
close(2)andfclose(3)can return errors in some exceptional situations but s3fs never checks this. There is not much we can do other than log and propagate, however.@ggtakec commented on GitHub (Jan 22, 2022):
For a long time, even in a general program, the error from close() is difficult to handle.
The only thing we can do inside s3fs may be to log it, as you say.
Or s3fs retry again to close with limit the number of times
I think, even if we can handle this error, it will be difficult to deal with it.