summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* (no commit message)Gravatar http://www.davidhaslem.com/2012-09-18
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-17
|\
* | blog for the dayGravatar Joey Hess2012-09-17
| |
* | run current branch merge in annex monadGravatar Joey Hess2012-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was seeing some interesting crashes after the previous commit, when making file changes slightly faster than the assistant could keep up. error: Ref refs/heads/master is at 7074f8e0a11110c532d06746e334f2fec6af6ab4 but expected 95ea86008d72a40d97a81cfc8fb47a0da92166bd fatal: cannot lock HEAD ref Committer crashed: git commit [Param "--allow-empty-message",Param "-m",Param "",Param "--allow-empty",Param "--quiet"] failed Pusher crashed: thread blocked indefinitely in an STM transaction Clearly the the merger ended up running at the same time as the committer, and with both modifying HEAD the committer crashed. I fixed that by making the Merger run its merge inside the annex monad, which avoids it running concurrently with other git operations. Also by making the committer not crash if git fails. What I don't understand is why the pusher then crashed with a STM deadlock. That must be in either the DaemonStatusHandle or the FailedPushMap, and the latter is only used by the pusher. Did the committer's crash somehow break STM? The BlockedIndefinitelyOnSTM exception is described as: -- |The thread is waiting to retry an STM transaction, but there are no -- other references to any @TVar@s involved, so it can't ever continue. If the Committer had a reference to a TVar and crashed, I can sort of see this leading to that exception.. The crash was quite easy to reproduce after the previous commit, but after making the above change, I have yet to see it again. Here's hoping.
* | deferred downloadsGravatar Joey Hess2012-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Now when a download is queued and there's no known remote to get it from, it's added to a deferred download list, which will be retried later. The Merger thread tries to queue any deferred downloads when it receives a push to the git-annex branch. Note that the Merger thread now also forces an update of the git-annex branch. The assistant was not updating this branch before, and it saw a (mostly) correct view of state, but now that incoming pushes go to synced/git-annex, it needs to be merged in.
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo2012-09-18
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo2012-09-17
| |
| * poll vote (My phone (or MP3 player))Gravatar 93.218.139.222012-09-17
| |
* | cleanupGravatar Joey Hess2012-09-17
| |
* | noteGravatar Joey Hess2012-09-17
| |
* | simplifyGravatar Joey Hess2012-09-17
| |
| * poll vote (Google Drive)Gravatar 174.127.226.1622012-09-17
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-17
|\|
| * Added a commentGravatar http://joeyh.name/2012-09-17
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo2012-09-17
| |
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawnq-RfkVpFN15SWvQ2lpSGAi0XpNQuLxKM2012-09-17
| |
* | flip catchDefaultIOGravatar Joey Hess2012-09-17
|/
* better name for fallback sync refsGravatar Joey Hess2012-09-16
| | | | | | | | | | | Don't expose these as branches in refs/heads/. Instead hide them away in refs/synced/ where only show-ref will find them. Make unused only look at branches and tags, not these other things, so it won't care if some stale sync ref used to use a file. This means they don't need to be deleted, which could have led to an incoming sync being missed.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-16
|\
* | blog for the dayGravatar Joey Hess2012-09-16
| |
* | ensure outgoing sync pushes always succeed when repo is accessibleGravatar Joey Hess2012-09-16
| | | | | | | | | | | | | | | | | | The fallback branches pushed to contain the uuid of the pusher, which is ugly. That's why syncing doesn't normally use this method. The merger deletes fallback branches after merging them, to contain the ugliness, and so unused doesn't look at data from these branches. (The fallback git-annex branch is left behind for now.)
* | make the merger merge any equivilant sync branch into the current branchGravatar Joey Hess2012-09-16
| | | | | | | | Not just synced/master, but synced/UUID/master, for example
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo2012-09-16
| |
* | sync: Pushes the git-annex branch to remote/synced/git-annex, rather than ↵Gravatar Joey Hess2012-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | directly to remote/git-annex. This fixes a problem I was seeing in the assistant where two remotes would attempt to sync with one another at the same time, and both failed pushing the diverged git-annex branch. Then when both tried to resolve the failed push, they each modified their git-annex branch, which again each blocked the other from pushing into it. The result was that the git-annex branches were perpetually diverged (despite having the same content!) and once the assistant fell into this trap, it couldn't get out and always had to do the slow push/fail/pull/merge/push/fail cycle.
| * poll vote (Tahoe-LAFS)Gravatar http://meep.pl/2012-09-16
|/
* fixGravatar Joey Hess2012-09-16
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-16
|\
* | fix display of only blog posts tagged pollsGravatar Joey Hess2012-09-16
| |
| * Added a commentGravatar http://joeyh.name/2012-09-16
| |
| * poll vote (My phone (or MP3 player))Gravatar 2001:470:1f04:a19:200b:39d4:308f:4f6c2012-09-16
| |
| * poll vote (My phone (or MP3 player))Gravatar 2001:470:1f04:a19:200b:39d4:308f:4f6c2012-09-16
| |
| * poll vote (My phone (or MP3 player))Gravatar 2001:470:1f04:a19:200b:39d4:308f:4f6c2012-09-16
| |
| * Added a comment: thanx for fast help ;)Gravatar https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo2012-09-16
| |
| * poll vote (My phone (or MP3 player))Gravatar 2001:638:a00:2a:298a:16f8:72b0:85b52012-09-16
| |
| * poll vote (My phone (or MP3 player))Gravatar 80.217.244.1582012-09-16
| |
| * poll vote (Amazon S3)Gravatar 98.207.92.1242012-09-16
|/
* retitleGravatar Joey Hess2012-09-16
|
* Avoid crashing on encoding errors in filenames when writing transfer info ↵Gravatar Joey Hess2012-09-16
| | | | files and reading from checksum commands.
* closeGravatar Joey Hess2012-09-16
|
* closeGravatar Joey Hess2012-09-16
|
* reinject: When the provided file doesn't match, leave it where it is, rather ↵Gravatar Joey Hess2012-09-16
| | | | than moving to .git/annex/bad/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-15
|\
* | blog for the dayGravatar Joey Hess2012-09-15
| |
* | Support repositories created with --separate-git-dir. Closes: #684405Gravatar Joey Hess2012-09-15
| |
| * poll vote (Amazon Glacier)Gravatar 188.61.52.2552012-09-16
| |
| * poll vote (Tahoe-LAFS)Gravatar 188.61.52.2552012-09-16
| |
| * poll vote (Amazon Glacier)Gravatar 188.61.52.2552012-09-16
| |
* | more descriptive name for oneshotGravatar Joey Hess2012-09-15
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-09-15
|\|
* | bugfix: avoid staging but not committing changes to git-annex branchGravatar Joey Hess2012-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branch.get is not able to see changes that have been staged to the index but not committed. This is a limitation of git cat-file --batch; when reading from the index, as opposed to from a branch, it does not notice changes made after the first time it reads the index. So, had to revert the changes made in 1f73db3469e29448bcb1520893de11b23da6fb1f to make annex.alwayscommit=false stage changes. Also, ensure that Branch.change and Branch.get always see changes at all points during a commit, by not deleting journal files when staging to the index. Delete them only after committing the branch. Before, there was a race during commits where a different git-annex could see out-of-date info from the branch while a commit was in progress. That's also done when updating the branch to merge in remote branches. In the case where the local git-annex branch has had changes pushed into it that are not yet reflected in the index, and there are journalled changes as well, a merge commit has to be done.