My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1680: Parallell run of git gc hangs
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Nov 2012


Sign in to add a comment
 
Reported by bjorn.an...@sonymobile.com, Nov 25, 2012
Affected Version:
repo version v1.11.1
       (from https://android.googlesource.com/tools/repo)
repo launcher version 1.18
       (from /home/bjorn/sandbox/lt26/.repo/repo/repo)
git version 1.7.5.4
Python 2.7.2+ (default, Jul 20 2012, 22:15:08) 
[GCC 4.6.1]

What steps will reproduce the problem?
repo sync -j2

What is the expected output? What do you see instead?
During the git gc phase, after fetching all projects, repo sometimes stalls if being run with jobs >= 2. Higher numer of jobs increases the probability of this issue to occur, with -j4 it rarely every finishes.


Please provide any additional information below.
Repo hangs while joining the threads in _GCProjects(), because not all threads are done (all git processes are finished according to ps).

The issue was introduced by 188572170e8cdf28df55a5ca90ed70d14b72b804.
Nov 25, 2012
#1 bjorn.an...@sonymobile.com
I missed the fact that git-repo is not part of the gerrit repo, sorry about that.

I've posted https://code.google.com/p/git-repo/issues/detail?id=126 instead.
Nov 25, 2012
#2 sop@google.com
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting