summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-02 13:55:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-02 13:55:26 -0400
commit6827ee5dff243fde8f7343937feb844d12d51dcf (patch)
tree56f13d5945115b9b2920c4ea3dff243e6ccdf933 /CHANGELOG
parentb530f18fda5f1fb611b072440ee810ff6bacc3b0 (diff)
info: Improve cleanup of stale transfer info files.
In my git-annex repos, I found some stale transfer info files without lock files. Pass a mode to tryLockExclusive, so it will create the lock file if not present, and so not fail to clean up such transfer info files. Normally, transfer info files are accompanied by a lock file. But, when alwaysRunTransfer is used, the locking can fail and it will still write the transfer info file. Perhaps there are other cases too? Note that mkProgressUpdater's meter writes to the transfer info file too, and it might be possible for that meter to fire after runTransfer has cleaned up. This commit was sponsored by andrea rota.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 91a4ac53a..5895a7f8a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -17,6 +17,7 @@ git-annex (6.20170926) UNRELEASED; urgency=medium
* Fix process and file descriptor leak that was exposed when
git-annex was built with ghc 8.2.1. Broke git-annex test on OSX
due to running out of FDs, and may have also leaked in other situations.
+ * info: Improve cleanup of stale transfer info files.
-- Joey Hess <id@joeyh.name> Thu, 28 Sep 2017 12:01:39 -0400