Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-07-14 16:02:58 -04:00
commit 27d5eaa0cb
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.2"
subject="comment 1"
date="2014-07-14T18:47:21Z"
content="""
You did not seem to paste the whole log, but it's clear that your git repository is corrupt. You might try running `git annex repair` inside it.
This was probably caused by a disk corruption or if you're lucky just a hard shutdown that caused files to get truncated.
The assistant tries to detect corrupt repositories on startup, but it's hard to detect when a repository has a few corrupt objects like this. This is why the webapp suggests you set up periodic repository consistency checks, which should eventually repair this kind of problem.
Perhaps it would make sense for the webapp, when a thread crashes, to provide a button to run an consistency check immediately.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="zardoz"
ip="78.49.247.112"
subject="comment 2"
date="2014-07-14T19:34:31Z"
content="""
I suppose you misread something. Note that the 60s traversal was on the (slower) /external/ drive, and the 24minute traversal on the (faster) internal one, so if anything, the results become more pronounced because of the comparison.
In the meantime I converted the internal drive to btrfs, and the traversal time on SATA is now 30s, as opposed to the >20min on ext.
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.2"
subject="comment 1"
date="2014-07-14T19:05:32Z"
content="""
git-annex stores the locations of repositories in `.config/git-annex/autostart` in what passes for a home directory on Windows.
Are you sure it doesn't manage to at least open a web browser tab, possibly one with an error in it? This would be easy to miss if you have a lot of tabs open. I seem to have partially reproduced this, at least that's the behavior I see.
The root of the problem seems to be that it thinks the daemon is running, but it's not. So it just opens the web browser and then stops. After I deleted .git/annex/daemon*, and .git/annex/url and .git/annex/daemon.log, `git annex webapp` worked again.
"""]]