owncloud-archive / files_locking

3 stars 5 forks source link

Downloaded file is corrupted if another version of the file is uploaded at the same time #38

Closed jvillafanez closed 9 years ago

jvillafanez commented 9 years ago

Steps to reproduce

  1. Upload a big file (several MB)
  2. Download the file and, while the file is being downloaded, upload a new version

    Expected behaviour

The downloaded file is fine

Actual behaviour

The downloaded file is corrupted. Download seems to be interrupted

Server configuration

Operating system: ubuntu 14.04

Web server: apache 2.4.7

Database: mysql

PHP version: 5.5.9

ownCloud version: OC 8.1 beta 2

Updated from an older ownCloud or fresh install: fresh install

Notes

I've reproduced the bug consistently using smashbox (check https://github.com/owncloud/smashbox/pull/107 - first test). Target server is http://docker.oc.solidgear.es:50537

Also checked the same thing happens without the files_locking app enabled

DeepDiver1975 commented 9 years ago

situations like that will be taken care of with the new/experimental high level locking

ghost commented 9 years ago

@jvillafanez @jnfrmarks ready for testing with files locking implementation?

jnfrmarks commented 9 years ago

@jvillafanez Are you still seeing this issue?

jvillafanez commented 9 years ago

Not with with the daily package. I'm not sure if it's solved or I'm not putting enough pressure in the server (the downloaded file might be automatically fully cached into memory by the OS before being overwritten)