server icon indicating copy to clipboard operation
server copied to clipboard

Ghost files in cache due to fast operations

Open faulix opened this issue 9 years ago • 3 comments

Steps to reproduce

  1. Use the client app for synchronization
  2. Copy a synchronized folder locally (gets copied with prefix "copy of" or similar)
  3. Rename the folder quickly

Expected behaviour

The final folder should be synchronized, the interim versions should be deleted.

Actual behaviour

Ghost files occur, as the interim files are created in the filecache, but no files exist on the harddisk.

Server configuration

PHP version: 7

Nextcloud version: 12.0.0

Problem tracking

I think the problem occurs when a file gets updated locally while the file synchronization runs. The upload of the file seems to abort, but there is no cache rollback as the entry is already created (assumption).

faulix avatar Jul 05 '17 15:07 faulix

cc @icewind1991

LukasReschke avatar Jul 20 '17 09:07 LukasReschke

I should also mention that neither occ files:cleanup nor occ files:scan delete the ghost files

faulix avatar Jul 22 '17 19:07 faulix

Looks like a duplicate of #741

Let's continue there.

MorrisJobke avatar Aug 31 '17 08:08 MorrisJobke