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

[QA] interrupted upload produces a currupt file without notice #620

Open
jnweiger opened this issue Oct 26, 2022 · 1 comment
Open

[QA] interrupted upload produces a currupt file without notice #620

jnweiger opened this issue Oct 26, 2022 · 1 comment

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Oct 26, 2022

Seen with files_primary_s3 1.4.0 rc.2 on core 10.11.0

  • Start upload of a large file (several GB) via e.g.
    curl --user $user:$pass -o /dev/stderr -T $file https://$servername/remote.php/dav/files/$user/
  • Interrupt the upload by pressing CTRL-C at the shell.
  • The $file appears in owncloud. But it is short.

Expected behaviour:

  • incomplete uploads do not make it into the filesystem. The part files are discarded.
  • (or) the $file is created as e.g. $file.partial - so that the user sees, that something is wrong.
@jnweiger
Copy link
Contributor Author

As per feedback from @GeraldLeikam we can assume this behaviour is specific to s3 storage. with normal primary storage incomplete uploads do not appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant