diff options
author | 2014-08-15 20:45:38 +0000 | |
---|---|---|
committer | 2014-08-15 20:45:38 +0000 | |
commit | 3a9187bc19cfc93304e2dc1759fa281de09f7a10 (patch) | |
tree | 6c68871c7d3089fcd3e2ddcfa47ac631813d7b69 /doc | |
parent | 2c3e264fafbf3f66d4e7f26dfc1d7b09d08eb094 (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/git-annex_branch_shows_commit_with_looong_commitlog/comment_3_cbbeaa691d102bd7d29f5e9bad9d6f53._comment | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_branch_shows_commit_with_looong_commitlog/comment_3_cbbeaa691d102bd7d29f5e9bad9d6f53._comment b/doc/bugs/git-annex_branch_shows_commit_with_looong_commitlog/comment_3_cbbeaa691d102bd7d29f5e9bad9d6f53._comment new file mode 100644 index 000000000..865140509 --- /dev/null +++ b/doc/bugs/git-annex_branch_shows_commit_with_looong_commitlog/comment_3_cbbeaa691d102bd7d29f5e9bad9d6f53._comment @@ -0,0 +1,32 @@ +[[!comment format=mdwn + username="Francois" + ip="2001:788:5:1:29c2:de49:9811:51c8" + subject="comment 3" + date="2014-08-15T20:45:38Z" + content=""" +I've been experiencing the exact same problem and searching for **recovery from race** lead me to this bug report. Thanks for reporting it! + +For a few months, a repo storing ~19'000 files (mostly immutable pictures) started to launch memory hungry \"git log\" processes. For example: + + 4797 francois 20 0 8118296 7.719g 2032 D 22.3 50.2 0:11.61 git + + 4797 pts/1 D+ 0:12 git --git-dir=~/Pictures/.git --work-tree=~/Pictures -c core.bare=false log refs/heads/git-annex..52e44b967ad5d316d832562be02c5555c1f6d2a4 --oneline -n1 + +Thanks to the hints found in this report, I was able to find many huge commit messages such as this one: + + $ git show 6357b208 + commit 6357b2081e7c85dfe1ccc10824b75f3e212e6386 + Author: Francois Deppierraz <francois@ctrlaltdel.ch> + Date: Sat Jun 14 10:38:46 2014 +0200 + + update (recovery from race) (recovery from race) (recovery from race) (recovery from race) (recovery from race) [...] + + $ git show 6357b208 | wc + 5 444026 3108236 + +There were probably many new files added on Jun 14th and looking for a way to increase to sync speed, especially to a S3-like remote, I found the solution on this wiki for [multiple concurrent transfers](https://git-annex.branchable.com/forum/Feature_request:_Multiple_concurrent_transfers/). + +This looks like a likely culprit for generating race conditions. What do you think? + + git-annex version: 5.20140412ubuntu1 +"""]] |