[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2924: Subdirectories remain in magic-folder upload queue indefinitely
Tahoe-LAFS
trac at tahoe-lafs.org
Mon May 14 01:18:27 UTC 2018
#2924: Subdirectories remain in magic-folder upload queue indefinitely
--------------------------+---------------------------
Reporter: cypher | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.12.1
Keywords: magic-folder | Launchpad Bug:
--------------------------+---------------------------
Subdirectories created inside of a magic-folder appear to remain in the
`magic-folder status` upload queue indefinitely. Example:
{{{
dev ~ % tahoe magic-folder status -n TestFolder
Magic-folder status for 'TestFolder':
Local files:
file.txt (5.21 MB): good, version=0, created 6 minutes ago
subdir at _ (0 B): good, version=0, created 5 minutes ago
subdir at _other_file.txt (965.85 kB): good, version=0, created 2 minutes
ago
Remote files:
admin's remote:
file.txt (5.21 MB): good, version=0, created 6 minutes ago
subdir at _ (0 B): good, version=0, created 5 minutes ago
subdir at _other_file.txt (965.85 kB): good, version=0, created 2 minutes
ago
Uploads:
subdir/: 0.0% done
}}}
In this case, the `subdir/: 0.0% done` upload operation will persist in
between client restarts (i.e., be re-added to the queue on startup but
remain at "0.0% done" forever), regardless of the contents of that
subdirectory and/or the ongoing upload/download progress of any of the
files contained inside it.
As meejah has suggested, this may have something to do with the
"flattening" behavior of magic-folder (which does not use standard/nested
tahoe directories but instead lists all files within a magic-folder at the
top-level of a mutable object using "@_" as a path separator). In any
case, the correct behavior should probably either clear/remove this upload
operation once "subdir" has been successfully created in the remote magic-
folder, or keep the upload operation in the list for some amount of time
but display it as being 100% done.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2924>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list