From: Jeff King <peff@peff.net>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: git@vger.kernel.org, git-dev@github.com,
"Shawn O. Pearce" <spearce@spearce.org>
Subject: Re: [PATCH] pack-objects: protect against disappearing packs
Date: Fri, 14 Oct 2011 09:02:48 -0400 [thread overview]
Message-ID: <20111014130247.GA7808@sigill.intra.peff.net> (raw)
In-Reply-To: <alpine.LFD.2.02.1110132234210.17040@xanadu.home>
On Thu, Oct 13, 2011 at 10:42:28PM -0400, Nicolas Pitre wrote:
> > ---
>
> you should put your SOB above that line I would think.
Thanks. I cheated and wrote my "---" cover letter in the commit message
locally, knowing that it would get included by format-patch but stripped
by am on Junio's end. Which does work, except that "format-patch -s"
puts the SOB in the wrong place. :)
> Acked-by: Nicolas Pitre <nico@fluxnic.net>
Thanks for reviewing.
> > We're seeing this at GitHub because we prune pretty
> > aggressively. We let pushes go into individual repositories,
> > but then we kick off a job to move the resulting objects
> > into the repository's "network" repo, which is basically a
> > big alternates repository for related repos.
>
> While this patch certainly has value, it doesn't provide 100%
> reliability for that use case. Maybe the github infrastructure should
> simply skip any auto-repack on push if some other object maintenance
> operation is ongoing, possibly via the pre-auto-gc hook.
I'm not sure I understand the problem. We already serialize the
re-packing jobs in a queue, so you won't have two repacks going at once.
The problematic pack-objects is the one started by upload-pack when
somebody fetches. Or do you mean turning off receive.autogc? I'd have to
check if we do that, but we definitely should; it's useless to us
(though it would be unlikely to trigger anyway, because we are manually
repacking so frequently).
-Peff
next prev parent reply other threads:[~2011-10-14 13:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 1:23 [PATCH] pack-objects: protect against disappearing packs Jeff King
2011-10-14 1:31 ` Jeff King
2011-10-14 2:43 ` Nicolas Pitre
2011-10-14 2:42 ` Nicolas Pitre
2011-10-14 13:02 ` Jeff King [this message]
2011-10-14 7:06 ` Johannes Sixt
2011-10-14 13:07 ` Jeff King
2011-10-14 14:35 ` Johannes Sixt
2011-10-14 18:03 ` [PATCH 1/2] " Jeff King
2011-10-14 18:04 ` [PATCH 2/2] downgrade "packfile cannot be accessed" errors to warnings Jeff King
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=20111014130247.GA7808@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git-dev@github.com \
--cc=git@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=spearce@spearce.org \
/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).