diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-16 15:01:10 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-16 15:01:27 -0400 |
commit | 1396113ccbb6be895b1deb7c7eec228323e47078 (patch) | |
tree | f23b5041b7ebc706eb6073be39a54b089fe0125a /debian | |
parent | b698829a4bed783899b1f1156c49ac2c8b9aa8c8 (diff) |
Fix bug that prevented uploads to remotes using new-style chunking from resuming after the last successfully uploaded chunk.
"checkPresent baser" was wrong; the baser has a dummy checkPresent action
not the real one. So, to fix this, we need to call preparecheckpresent to
get a checkpresent action that can be used to check if chunks are present.
Note that, for remotes like S3, this means that the preparer is run,
which opens a S3 handle, that will be used for each checkpresent of a
chunk. That's a good thing; if we're resuming an upload that's already many
chunks in, it'll reuse that same http connection for each chunk it checks.
Still, it's not a perfectly ideal thing, since this is a different http
connection that the one that will be used to upload chunks. It would be
nice to improve the API so that both use the same http connection.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index d8e468dc8..e494f9ced 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ git-annex (5.20150714) UNRELEASED; urgency=medium * Improve bash completion code so that "git annex" will also tab complete. However, git's bash completion script needs a patch, which I've submitted, for this to work prefectly. + * Fix bug that prevented uploads to remotes using new-style chunking + from resuming after the last successfully uploaded chunk. -- Joey Hess <id@joeyh.name> Thu, 16 Jul 2015 14:55:07 -0400 |