From: Jeff King <peff@peff.net>
To: Jim Meyering <jim@meyering.net>
Cc: git list <git@vger.kernel.org>
Subject: Re: "git clone --depth=2 git://git.sv.gnu.org/gnulib" hangs
Date: Tue, 26 Apr 2011 03:59:17 -0400 [thread overview]
Message-ID: <20110426075917.GA26874@sigill.intra.peff.net> (raw)
In-Reply-To: <87aafedqjp.fsf@rho.meyering.net>
On Mon, Apr 25, 2011 at 10:28:10PM +0200, Jim Meyering wrote:
> We've had a report that this command is hanging:
>
> git clone --depth=2 git://git.sv.gnu.org/gnulib
It might be related to this deadlock which impacts upload-pack on a
server with pthreads serving a shallow clone:
http://thread.gmane.org/gmane.comp.version-control.git/170789
Unfortunately the fix I posted is not yet in any released version of
git. It is in the current 'next'.
> It appears to be something specific to the gnulib repository,
> since I can do a shallow clone of e.g., this one just fine:
>
> git://git.savannah.gnu.org/parallel.git
It's a race condition on filling up a rev-list buffer, so certain repos
may be more prone to triggering the race than others.
-Peff
next prev parent reply other threads:[~2011-04-26 7:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 20:28 "git clone --depth=2 git://git.sv.gnu.org/gnulib" hangs Jim Meyering
2011-04-25 21:16 ` Andreas Schwab
2011-04-26 7:59 ` Jeff King [this message]
2011-04-26 16:02 ` Jim Meyering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110426075917.GA26874@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=jim@meyering.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).