mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #437] Why exit the process when encounter unknown curl errors? #237
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#237
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 @rockuw on GitHub (Jun 24, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/437
Even if we cannot handle the curl error, it affects only one request which may succeed after user retry. So is there any special considerations here?
@ggtakec
@ggtakec commented on GitHub (Jun 26, 2016):
@rockuw
Special consideration have not been made about this older than 1.60.
This means s3fs is determined it can not recover and exits assap because s3fs can not be handled this error. (but s3fs should run post-processing.)
Regards,
@rockuw commented on GitHub (Jun 27, 2016):
s3fs could handle it in this way: just return EIO when an unknown curl error is encountered. What do you think?
@ggtakec
@ggtakec commented on GitHub (Jun 27, 2016):
@rockuw That you said is correct.
I think that I also do not see the reason to exit in S3fsCurl class.
Correctly, this method returns an error of such EIO, the error should have been treated with the caller.
For now, the calling exit() in this function has been changed to returning EIO after I tested codes.
And I merged codes by #440.
Please check it and try it.
Regards,
@gaul commented on GitHub (Feb 2, 2019):
@rockuw did this change resolve your symptoms? If so please close this issue.
@gaul commented on GitHub (Apr 9, 2019):
Closing due to inactivity. Please reopen if symptoms persist.