[GH-ISSUE #14] s3fs -u should return 0 if there are no lost multiparts #7

Closed
opened 2026-03-04 01:41:06 +03:00 by kerem · 1 comment
Owner

Originally created by @timurb on GitHub (Feb 18, 2014).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/14

root@monitoring:~# s3fs -u XXXXXXXX
Utility Mode

Lists the parts that have been uploaded for a specific multipart upload.

There is no list.
root@monitoring:~# echo $?
1

I think s3fs should return 0 in the case of successful operation (no matter if there are any lost multiparts or not and if they were deleted or not) and non-0 otherwise (i.e. on errors). Currently it looks like you can't distinguish easily between s3fs errors and no lost multiparts.

I don't insist my vision is the only correct one but just wanted to hear of other opinions on this matter.

Originally created by @timurb on GitHub (Feb 18, 2014). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/14 ``` root@monitoring:~# s3fs -u XXXXXXXX Utility Mode Lists the parts that have been uploaded for a specific multipart upload. There is no list. root@monitoring:~# echo $? 1 ``` I think s3fs should return 0 in the case of successful operation (no matter if there are any lost multiparts or not and if they were deleted or not) and non-0 otherwise (i.e. on errors). Currently it looks like you can't distinguish easily between s3fs errors and no lost multiparts. I don't insist my vision is the only correct one but just wanted to hear of other opinions on this matter.
kerem closed this issue 2026-03-04 01:41:06 +03:00
Author
Owner

@ggtakec commented on GitHub (Mar 3, 2014):

Thanks a bug report and sorry for replying too late.
#20 pull request is merged master branch.
It works good fixed for this problem.

Thanks in advance.

<!-- gh-comment-id:36532147 --> @ggtakec commented on GitHub (Mar 3, 2014): Thanks a bug report and sorry for replying too late. #20 pull request is merged master branch. It works good fixed for this problem. Thanks in advance.
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#7
No description provided.