git-annex/Assistant/Threads
Joey Hess c23ea9e311 assistant: Get back in sync with XMPP remotes after network reconnection, and on startup.
Make manualPull send push requests over XMPP.

When reconnecting with remotes, those that are XMPP remotes cannot
immediately be pulled from and scanned, so instead maintain a set of
(probably) desynced remotes, and put XMPP remotes on it. (This set could be
used in other ways later, if we can detect we're out of sync with other
types of remotes.)

The merger handles detecting when a XMPP push is received from a desynced
remote, and triggers a scan then, if they have in fact diverged.

This has one known bug: A single XMPP remote can have multiple clients
behind it. When this happens, only the UUID of one client is recorded
as the UUID of the XMPP remote. Pushes from the other XMPP clients will not
trigger a scan. If the client whose UUID is expected responds to the push
request, it'll work, but when that client is offline, we're SOL.
2013-03-06 15:09:31 -04:00
..
Committer.hs fix 2013-03-03 15:18:24 -04:00
ConfigMonitor.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
DaemonStatus.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
Glacier.hs add additional debug info about reasons for transfers 2013-03-01 15:23:59 -04:00
Merger.hs assistant: Get back in sync with XMPP remotes after network reconnection, and on startup. 2013-03-06 15:09:31 -04:00
MountWatcher.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
NetWatcher.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
PairListener.hs better liftAnnex, avoid using runAnnex undefined 2013-03-04 16:36:38 -04:00
Pusher.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
SanityChecker.hs fixed the race breaking moving files from archive in direct mode 2013-03-04 14:25:22 -04:00
TransferPoller.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
Transferrer.hs assistant: Fix dropping content when a file is moved to an archive directory. 2013-03-01 16:46:36 -04:00
TransferScanner.hs add additional debug info about reasons for drops 2013-03-01 15:58:44 -04:00
TransferWatcher.hs add additional debug info about reasons for drops 2013-03-01 15:58:44 -04:00
Watcher.hs fix another potential race with the watcher and direct mode 2013-03-04 15:09:32 -04:00
WebApp.hs webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve. 2013-03-03 17:07:27 -04:00
XMPPClient.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00