[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1458: drop-upload: on startup, scan for files created or changed while the gateway was not running
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Apr 14 04:40:55 UTC 2015
#1458: drop-upload: on startup, scan for files created or changed while the
gateway was not running
-------------------------------------+-------------------------------------
Reporter: davidsarah | Owner: daira
Type: defect | Status: assigned
Priority: major | Milestone: 1.11.0
Component: code-frontend-drop- | Version: 1.8.2
upload | Keywords: drop-upload otf-magic-
Resolution: | folder-objective2
Launchpad Bug: |
-------------------------------------+-------------------------------------
Comment (by dawuud):
i added more code to my dropupload-scan-on-startup-1458-1 branch.
when the service is start the basedir is scanned and it uses the database
to identify files that haven't yet been uploaded.
in this code branch we do not yet have an upload dequeue so i've
been using a stub method to represent adding a file to the upload dequeue.
also i added some unit tests. a simple test for the db creation.
and a test for startup/shutdown of the drop uploader service.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1458#comment:10>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list