Changes between Initial Version and Version 1 of Ticket #2880, comment 2


Ignore:
Timestamp:
2017-09-27T17:19:13Z (7 years ago)
Author:
meejah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2880, comment 2

    initial v1  
    1 So what's happening is that when we upload a file, we don't set ``last_downloaded_uri`` in the local metadata. So then when we do a re-scan (at the next startup) we decide to download based on this missing URI. Every time a file is downloaded (and already exists locally) we make a .backup
     1So what's happening is that when we upload a file, we don't set `last_downloaded_uri` in the local metadata. So then when we do a re-scan (at the next startup) we decide to download based on this missing URI. Every time a file is downloaded (and already exists locally) we make a .backup
    22
    3 The right fix is to set ``last_downloaded_uri`` upon upload, I believe -- thus we won't re-download the file on the next startup.
     3The right fix is to set `last_downloaded_uri` upon upload, I believe -- thus we won't re-download the file on the next startup.
    44
    55(Note this only happens *once* per new file we upload, not every startup).