Commit graph

20396 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawnov5q9_Cl4Ps5NoYE08yE01NLSvBANnY8
61222ad293 Added a comment 2014-07-10 05:50:32 +00:00
Joey Hess
26ee27915a refactor locking 2014-07-10 00:32:23 -04:00
Joey Hess
e5b88713a1 refactor 2014-07-10 00:16:53 -04:00
Joey Hess
f82992b8ff Merge branch 'master' of ssh://git-annex.branchable.com 2014-07-09 23:40:33 -04:00
Joey Hess
d9d76cf98b Fix minor FD leak in journal code.
Minor because normally only 1 FD is leaked per git-annex run. However,
the test suite leaks a few hundred FDs, and this broke it on the Debian
autobuilders, which seem to have a tigher than usual ulimit.

The leak was introduced by the lazy getDirectoryContents' that was
introduced in e6330988dd in order to scale to
millions of journal files -- if the lazy list was never fully consumed, the
directory handle did not get closed.

Instead, pull in openDirectory/readDirectory/closeDirectory code that I
already developed and submitted in a patch to the haskell directory library
earlier. Using this in journalDirty avoids the place that the lazy list
caused a problem. And using it in stageJournal eliminates the need for
getDirectoryContents'.

The getJournalFiles* functions are switched back to using the regular
strict getDirectoryContents. I'm not sure if those always consume the whole
list, so this avoids any leak. And the things that call those are things
like git annex unused, which also look at every file committed to the
git-annex branch, so would need more work to scale to insane numbers of
files anyway.
2014-07-09 23:36:53 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8
ed153b50d5 small change 2014-07-10 03:07:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8
ae676c1bee partially solved 2014-07-10 03:06:17 +00:00
divB
85ae4ce94c 2014-07-10 03:05:09 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8
c30ac2bebe missing word 2014-07-10 02:29:28 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8
7648a6602b formatting 2014-07-10 02:02:55 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8
6c6a5dff0d 2014-07-10 02:01:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnNqLKszWk9EoD4CDCqNXJRIklKFBCN1Ao
ac90d4f570 Added a comment: even a client repository you had once but have now deleted 2014-07-09 22:08:44 +00:00
Joey Hess
99d3010618 devblog 2014-07-09 16:20:02 -04:00
Joey Hess
f15d2aa35d update 2014-07-09 16:16:32 -04:00
Joey Hess
0f382a0256 add news item for git-annex 5.20140709 2014-07-09 16:08:50 -04:00
Joey Hess
c75193e88b fix build warning 2014-07-09 15:39:19 -04:00
Joey Hess
84186ee626 fix windows build 2014-07-09 15:37:25 -04:00
Joey Hess
566e8041ae Merge branch 'master' of ssh://git-annex.branchable.com 2014-07-09 15:32:21 -04:00
Joey Hess
ef915baf2f prep release 2014-07-09 15:28:19 -04:00
http://joeyh.name/
dd171168e4 Added a comment: more confirmation of race theory 2014-07-09 19:26:55 +00:00
Joey Hess
577c32a94f prep release 2014-07-09 15:22:07 -04:00
Joey Hess
99521fee79 close, with fairly high confidence, but not certainty, due to difficulty reproducing races.. 2014-07-09 15:21:27 -04:00
Joey Hess
6fe35aab87 Really fix bug that caused the assistant to make many unncessary empty merge commits. 2014-07-09 15:18:00 -04:00
Joey Hess
d76b5a674f Merge branch 'master' of ssh://git-annex.branchable.com 2014-07-09 15:09:49 -04:00
Joey Hess
58acaf8026 prospective fix for bad_merge_commit_deleting_all_files
Assuming my analysis of a race is correct. In any case, this certianly closes a
race..
2014-07-09 15:08:19 -04:00
http://joeyh.name/
2e102ce248 Added a comment 2014-07-09 19:01:33 +00:00
http://joeyh.name/
73271cbcf4 Added a comment 2014-07-09 19:00:35 +00:00
Joey Hess
4915f9ad03 format 2014-07-09 14:50:42 -04:00
http://jamesjustjames.wordpress.com/
dbfab63576 removed 2014-07-09 18:51:27 +00:00
http://jamesjustjames.wordpress.com/
bf2ac843d2 Added a comment: The guy with this bug. 2014-07-09 18:50:36 +00:00
http://jamesjustjames.wordpress.com/
36de0da227 Added a comment: The guy with this bug. 2014-07-09 18:50:25 +00:00
http://joeyh.name/
07bb6b3748 Added a comment 2014-07-09 18:36:36 +00:00
http://joeyh.name/
5fe0f1e939 Added a comment: theory 2014-07-09 18:31:07 +00:00
http://joeyh.name/
b76295a396 Added a comment 2014-07-09 18:25:08 +00:00
http://joeyh.name/
7871699567 Added a comment 2014-07-09 18:20:14 +00:00
http://joeyh.name/
68ba0f8ab8 Added a comment 2014-07-09 17:58:48 +00:00
Joey Hess
4de0b1693e more info 2014-07-09 13:43:22 -04:00
Joey Hess
6272d09031 bug 2014-07-09 13:39:02 -04:00
http://ypid.wordpress.com/
1220afaffe 2014-07-09 16:55:17 +00:00
http://svario.it/gioele
9ca4270cce new bug gpg does not ask for password inside tmux 2014-07-09 16:54:27 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8
6d80ff2a7e 2014-07-09 16:03:42 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8
0091552e38 Added a comment 2014-07-09 15:32:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8
856bfcfccf Added a comment: Same happening here 2014-07-09 14:45:32 +00:00
http://mildred.fr/
855409db88 2014-07-09 14:17:04 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnu1NjsjNS3m0OxiYLKO-5SKNpSERxpi6k
ac4149706f Added a comment 2014-07-09 13:56:31 +00:00
zardoz
6b165db9cc Added a comment 2014-07-09 09:02:59 +00:00
zardoz
7ed729ae51 Added a comment 2014-07-09 08:51:22 +00:00
zardoz
b78752480e 2014-07-09 08:39:58 +00:00
zardoz
cd5198a391 Added a comment 2014-07-09 07:07:27 +00:00
http://olivier.mehani.name/
a3e7a98445 Added a comment 2014-07-09 01:09:33 +00:00