git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Repository corruption

From
Petr Baudis <pasky@suse.cz>
Date
Mar 16, 2008, 23:01 UTC
Message-ID
<20080316230151.GB6803@machine.or.cz>
In-Reply-To
<20080315130441.GF4079@nan92-1-81-57-214-146.fbx.proxad.net>
On Sat, Mar 15, 2008 at 02:04:41PM +0100, Yann Dirson wrote:
Show 14 quoted lines
> On Sat, Mar 15, 2008 at 01:19:03PM +0100, Petr Baudis wrote:
> >   Hi,
> > 
> > On Mon, Sep 10, 2007 at 11:25:50PM +0200, Yann Dirson wrote:
> > > Not sure if you saw my note in IRC: it looks like tagua/ydirson.git is
> > > definitely corrupted - not sure it would be useful to keep a copy
> > > around for investigation, but I'd appreciate if you could nuke the
> > > contents, so I can push again to it.
> > 
> >   I have nuked it now. :-)
> 
> Thanks :)
> 
> Any idea what caused the corruption ?

My idea I got few days ago when looking at the borken repositories is that it was caused by interrupted git-repack, since there were stale tmp_pack* files left in the repository - it seems like it removed old "redundant" packs even though the new one weren't properly completed. But that is just a speculation, and I did not get around to look at the script yet whether this could really happen, or if something like this got fixed recently.

-- 
				Petr "Pasky" Baudis
Whatever you can do, or dream you can, begin it.
Boldness has genius, power, and magic in it.	-- J. W. von Goethe
Previous: Christian CouderNext: Junio C Hamano
Message 3 of 4 in “Re: Repository corruption”
  1. Yann DirsonMar 15, 2008
  2. Christian CouderMar 16, 2008
  3. Petr BaudisMar 16, 2008
  4. Junio C HamanoMar 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.