From: Enrico Weigelt <weigelt@metux.de>
To: git@vger.kernel.org
Subject: Re: Massive repository corruptions
Date: Tue, 13 Jul 2010 07:03:51 +0200 [thread overview]
Message-ID: <20100713050350.GB29392@nibiru.local> (raw)
In-Reply-To: <AANLkTilXQ3VgPjihf0pjt4QPN-nCjwAWyHwoosLMeRpH@mail.gmail.com>
* Avery Pennarun <apenwarr@gmail.com> wrote:
> Multiple simultaneous gc's shouldn't be a problem - git locks things
> as it needs them. Plus, git only removes objects after it has safely
> created a new packfile that contains them. Maybe a filesystem filling
> up could cause a problem, but git should be detecting that if it
> happens (maybe there's a bug that causes it to not notice, though).
Okay.
> You could experience corruption if your computer crashed before
> everything was synced to disk.
No machine crash, and no sign of filesystem or disk problems
(according to kernel log).
> Do you know which packfiles are corrupted? Does 'git index-pack' on
> the files reveal anything?
git@blackwidow ~/metux/work.git/pack $ git index-pack pack-3b6cbd5dc5f54cf390cfaa479cac6a99d7401375.pack
error: inflate: data stream error (incorrect data check)
fatal: pack has bad object at offset 37075832: inflate returned -3
(that's essentially the same git-gc says)
git@blackwidow ~/metux/work.git/pack $ git unpack-objects -r < pack-3b6cbd5dc5f54cf390cfaa479cac6a99d7401375.pack
error: inflate: data stream error (incorrect data check)
error: inflate returned -3
error: inflate: data stream error (incorrect data check)
error: inflate returned -3
Unpacking objects: 100% (1223/1223), done.
fatal: final sha1 did not match
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
next prev parent reply other threads:[~2010-07-13 5:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 1:56 Massive repository corruptions Enrico Weigelt
2010-07-13 3:23 ` Avery Pennarun
2010-07-13 5:03 ` Enrico Weigelt [this message]
2010-07-13 5:31 ` Enrico Weigelt
2010-07-13 6:46 ` Enrico Weigelt
2010-07-13 10:17 ` Valeo de Vries
2010-07-13 9:40 ` Avery Pennarun
2010-07-13 10:22 ` Enrico Weigelt
2010-07-13 17:59 ` Avery Pennarun
2010-07-14 13:22 ` Enrico Weigelt
2010-08-05 17:31 ` Enrico Weigelt
[not found] ` <AANLkTikFypx3e-=+8J2925A++_jY-aJCDYHHw6dry5s6@mail.gmail.com>
2010-08-05 20:10 ` Enrico Weigelt
[not found] ` <AANLkTi=5HVQ2kSEt7O+OXdMRtvy8amufpFKgRpj2VLEy@mail.gmail.com>
2010-08-05 20:42 ` Enrico Weigelt
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=20100713050350.GB29392@nibiru.local \
--to=weigelt@metux.de \
--cc=git@vger.kernel.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).