Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local 'mv' results in empty target file #3

Closed
dscime opened this issue Feb 16, 2016 · 4 comments
Closed

Local 'mv' results in empty target file #3

dscime opened this issue Feb 16, 2016 · 4 comments
Assignees
Labels

Comments

@dscime
Copy link

dscime commented Feb 16, 2016

Saving a file to the b2_fuse mount point successfully pushes the file to BackBlaze B2 storage.

Issuing a local 'mv' command (Eg. mv ubuntu.iso ubuntu.iso.old) results in the target file being created with size 0KB and the source file being deleted.

Here is the DEBUG log from the 'mv' command:

2016-02-16 19:40:23,375:INFO:_list_dir 2016-02-16 19:40:23,376:DEBUG:Rename old: /ubuntu-14.04.3-desktop-amd64.iso?_ga=1.259617613.699603941.1455208484, new /ubuntu.iso 2016-02-16 19:40:23,376:INFO:_list_dir 2016-02-16 19:40:23,376:INFO:_list_dir 2016-02-16 19:40:23,376:DEBUG:Flush ubuntu.iso 0 2016-02-16 19:40:23,376:INFO:put_file ubuntu.iso (len:0) 2016-02-16 19:40:23,376:INFO:_list_dir 2016-02-16 19:40:25,176:INFO:put_file Upload complete 2016-02-16 19:40:25,176:DEBUG:Unlink ubuntu-14.04.3-desktop-amd64.iso?_ga=1.259617613.699603941.1455208484 2016-02-16 19:40:25,176:INFO:_list_dir 2016-02-16 19:40:25,176:INFO:delete_file ubuntu-14.04.3-desktop-amd64.iso?_ga=1.259617613.699603941.1455208484 2016-02-16 19:40:25,177:INFO:get_file_versions ubuntu-14.04.3-desktop-amd64.iso?_ga=1.259617613.699603941.1455208484 2016-02-16 19:40:40,917:DEBUG:Readdir /

@falense
Copy link
Owner

falense commented Feb 17, 2016

Thank you for reporting this, I can confirm this was an issue. Commit b552f3c should fix this problem.

@falense falense added this to the v1.2 milestone Feb 17, 2016
@falense falense self-assigned this Feb 17, 2016
@falense falense added the bug label Feb 17, 2016
@falense
Copy link
Owner

falense commented Feb 19, 2016

Master branch now contains this fix.

@falense
Copy link
Owner

falense commented Feb 23, 2016

If you have a chance, please confirm if the fix corrects the issue on your end.

@falense falense removed this from the v1.2 milestone Feb 24, 2016
@falense
Copy link
Owner

falense commented Feb 27, 2016

No longer an issue as of f1662eb

@falense falense closed this as completed Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants