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

Delete to be deleted files before downloading new files #5077

Open
TeddyM-DK opened this issue Jul 25, 2016 · 1 comment
Open

Delete to be deleted files before downloading new files #5077

TeddyM-DK opened this issue Jul 25, 2016 · 1 comment

Comments

@TeddyM-DK
Copy link

TeddyM-DK commented Jul 25, 2016

Expected behaviour

Delete obselete files/folders on client PC before downloading new files to PC

Actual behaviour

Download before before deleting

Steps to reproduce

  1. make sure 2 client PC's are synced. PC1 must be maxed out (space). PC2 must have more space than PC1..
  2. pause sync on PC1
  3. delete some files on PC2 and add also new files (not the old ones deleted before) on PC2 so the space is near (not over) the limit of PC1.
  4. make sure the files are synced to the server.
  5. enable sync on PC1
  6. cry over you have to delete ALL data on PC1 and reinitialize folder sync from scratch.

Server configuration

Operating system:
Linus Mint 17.3

Web server:
Lighttpd (can't remember the version)

Database:
MariaDB (MySQL derivate) 5.5.49

PHP version:
5.5.9
ownCloud version:
9.0.1
Storage backend:
local

Client configuration

Client version:
2.2.2

Operating system:
Win 10
OS language:
US
Installation path of client:
default

Logs

Regarding logs, I do not have access to them from work. But if required I can find them (with help from you guys and girls)

I am not a coder, but to me it seems like downloading has higher priority than deleting.

If I am to decide (I know I am not) I would say:
Data sent TO server has higher priority than data deleting processes sent from client.
Data delting processes sent FROM server to client has higher priority than data sent to server from client.

So obselete data is removed first then replaced by new data. I find wrong data is worse than no data. I know I may be the onnly one sharing this view. ;)

/Teddy
P.s Sorry for misspell and funny syntax, english is my second language...

@guruz guruz changed the title Client priority of processes Delete to be deleted files before downloading new files Jul 25, 2016
@guruz
Copy link
Contributor

guruz commented Jul 25, 2016

Interesting issue
FYI @ogoffart

Semi related #2128 #4498

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

No branches or pull requests

3 participants