Commit graph

17116 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawnx8kHW66N3BqmkVpgtXDlYMvr8TJ5VvfY
711a78deb8 2014-01-08 06:45:01 +00:00
Claes Wallin (韋嘉誠)
ce09652bd7 bug: [[bugs/amd64_i386_standalone:_no_SKEIN]] 2014-01-08 02:41:32 +01:00
Joey Hess
5740489927 Revert "need a newish version of containers"
This reverts commit bad6b46f7f.
2014-01-07 20:42:13 -04:00
Joey Hess
e5eef4f2ae Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-07 20:26:47 -04:00
Joey Hess
7aec957c5b comment 2014-01-07 17:33:38 -04:00
Joey Hess
1c8f5f830b revert use of Data.Map.Strict
memory profile shows this did not contribute to the memory leaks fixed in
b92b54bd42
2014-01-07 14:55:06 -04:00
Joey Hess
bad6b46f7f need a newish version of containers 2014-01-07 14:18:41 -04:00
Joey Hess
281cde87b5 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-07 13:50:55 -04:00
Joey Hess
3e89ae52c4 add news item for git-annex 5.20140107 2014-01-07 13:50:51 -04:00
rtwolf
1ec642fd6f Added a comment 2014-01-07 17:41:25 +00:00
rtwolf
3efa165f02 Added a comment 2014-01-07 17:38:20 +00:00
rtwolf
71467d2a73 removed 2014-01-07 17:32:05 +00:00
rtwolf
46271aac38 Added a comment 2014-01-07 17:30:51 +00:00
Joey Hess
a909fcc20d Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-07 13:24:29 -04:00
Joey Hess
5e23dfabd6 add DEBUG 2014-01-07 13:23:58 -04:00
Joey Hess
d8e8128b50 work around a strance change in gpg behavior; needs a trustdb to exist even when using --trust-model=always 2014-01-07 13:20:07 -04:00
rtwolf
b7a7666e74 2014-01-07 17:18:48 +00:00
rtwolf
fa59d11d39 2014-01-07 17:16:50 +00:00
rtwolf
510f4372fa 2014-01-07 17:13:38 +00:00
Joey Hess
2716edd74a Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-07 12:59:59 -04:00
Joey Hess
614986b19a show PATH on failure 2014-01-07 12:59:26 -04:00
Joey Hess
de023c09bb add link to tip 2014-01-07 12:59:16 -04:00
Joey Hess
193ae59c5a add list of public git-annex repos 2014-01-07 12:57:40 -04:00
Joey Hess
0a98f1be15 prep release 2014-01-07 12:25:12 -04:00
Joey Hess
1c02fc4987 no lsof on kfreebsd 2014-01-07 12:12:36 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmqaNwDQ367zpW6cIRviLz6zJZZFODgoEI
393604602d Added note. 2014-01-07 16:11:55 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnX1msQxnLoSeu7q-i-c9BWghonsN7Qmns
dd6837d04b Added a comment 2014-01-07 16:02:01 +00:00
Joey Hess
4efb275843 close 2014-01-07 11:37:40 -04:00
http://joeyh.name/
2729ab5658 Added a comment 2014-01-07 15:37:20 +00:00
http://philipp.meier.name/
ca0fadf58a 2014-01-07 12:44:07 +00:00
http://philipp.meier.name/
fdd75e55b3 2014-01-07 12:42:16 +00:00
Joey Hess
a939d6afba close 2014-01-07 00:59:36 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmi5n3M8NMWsDYth_TGGRuJ4_CM2tPQfwg
542ba15b41 Added a comment 2014-01-07 04:54:41 +00:00
http://joeyh.name/
a641305dbd Added a comment 2014-01-07 03:40:01 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmi5n3M8NMWsDYth_TGGRuJ4_CM2tPQfwg
c6781748e8 2014-01-07 02:52:20 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
17ca10eec8 Added a comment 2014-01-06 22:19:58 +00:00
Joey Hess
869943a96d Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-06 17:16:08 -04:00
Joey Hess
e52e209cc8 devblog 2014-01-06 17:15:28 -04:00
Joey Hess
5279c4d1df tested transferkeys restarting; fix some bugs 2014-01-06 17:07:08 -04:00
Joey Hess
375842aee8 notes on long-running network connections 2014-01-06 17:06:55 -04:00
Joey Hess
22d6019bae add back sha commands on OSX; SIGILL problem fixed 2014-01-06 16:11:21 -04:00
Joey Hess
d356069f3e use strict version of map 2014-01-06 16:04:09 -04:00
Joey Hess
e5b4d447b6 assistant: Start a new git-annex transferkeys process after a network connection change
So that remotes that use a persistent network connection are restarted.

A remote might keep open a long duration network connection, and could
fail to deal well with losing the connection. This is particularly a
concern now that we have external special reotes. An external
special remote that is implemented naively might open the connection only
when PREPARE is sent, and if it loses connection, throw errors on each
request that is made.

(Note that the ssh connection caching should not have this problem; if the
long-duration ssh process loses connection, the named pipe is disconnected
and the next ssh attempt will reconnect. Also, XMPP already deals with
disconnection robustly in its own way.)

There's no way for git-annex to know if a lost network connection actually
affects a given remote, which might have a transfer in process. It does not
make sense to force kill the transferkeys process every time the NetWatcher
detects a change. (Especially because the NetWatcher sometimes polls 1
change per hour.)

In any case, the NetWatcher only detects connection to a network, not
disconnection. So if a transfer is in progress over the network, and the
network goes down, that will need to time out on its own.

An alternate approch that was considered is to use a separate transferkeys
process for each remote, and detect when a request fails, and assume that
means that process is in a failing state and restart it. The problem with
that approach is that if a resource is not available and a remote fails
every time, it degrades to starting a new transferkeys process for every
file transfer, which is too expensive.

Instead, this commit only handles the network reconnection case, and restarts
transferkeys only once the network has reconnected and another transfer needs
to be made. So, a transferkeys process will be reused for 1 hour, or until the
next network connection.

----

The NotificationBroadcaster was rewritten to use TMVars rather than MSampleVars,
to allow checking without blocking if a notification has been received.

----

This commit was sponsored by Tobias Brunner.
2014-01-06 16:03:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkipQLNyt8RHREHpg2k5wdYeRSCCvSNSBg
a5bc0d6c95 Added a comment: Formatting! 2014-01-06 19:22:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkipQLNyt8RHREHpg2k5wdYeRSCCvSNSBg
23bdcc4d57 Added a comment: git log for workspace.xml 2014-01-06 19:17:14 +00:00
http://joeyh.name/
27093d99ab Added a comment 2014-01-06 18:38:51 +00:00
Joey Hess
db2da1a033 format 2014-01-06 14:33:47 -04:00
Joey Hess
6f4baa892f Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-06 14:31:40 -04:00
Joey Hess
7378f2898c close old tracking bug 2014-01-06 14:25:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkipQLNyt8RHREHpg2k5wdYeRSCCvSNSBg
20028d7b2b 2014-01-06 18:23:53 +00:00