From mboxrd@z Thu Jan 1 00:00:00 1970 From: mfick@codeaurora.org Subject: A naive proposal for preventing loose object explosions Date: Fri, 6 Sep 2013 03:42:50 -0000 Message-ID: <54d0a7f13b53e15ad485e212057b85a3.squirrel@www.codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: nasserg@codeaurora.org To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri Sep 06 05:42:57 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHmwi-0007VQ-3q for gcvg-git-2@plane.gmane.org; Fri, 06 Sep 2013 05:42:56 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758933Ab3IFDmw (ORCPT ); Thu, 5 Sep 2013 23:42:52 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:44710 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758778Ab3IFDmv (ORCPT ); Thu, 5 Sep 2013 23:42:51 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id EF50A13EF18; Fri, 6 Sep 2013 03:42:50 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id E30F913F00D; Fri, 6 Sep 2013 03:42:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-caf-smtp.dmz.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=ham version=3.3.1 Received: from www.codeaurora.org (pdx-caf-fw-vip.codeaurora.org [198.145.11.226]) by smtp.codeaurora.org (Postfix) with ESMTP id A114D13EF18; Fri, 6 Sep 2013 03:42:50 +0000 (UTC) Received: from 172.30.200.101 (proxying for 65.103.115.193) (SquirrelMail authenticated user mfick) by www.codeaurora.org with HTTP; Fri, 6 Sep 2013 03:42:50 -0000 User-Agent: SquirrelMail/1.4.22-3.el6 X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: I am imagining what I consider to be a naive approach to preventing loose unreachable object explosions. It may seem a bit heavy handed at first, but every conversation so far about this issue seems to have died, so I am looking for a simple incremental improvement to what we have today. I theorize that this approach will provide the same protections (good and bad) against races as using git-repack -A -d and git-prune --expire