From: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Suggestion: "verify/repair" option for 'git gc'
Date: Thu, 14 Oct 2021 15:47:34 +0300 [thread overview]
Message-ID: <96bf2eff-f4c8-cae8-76cb-6eeb233cd1d3@syntevo.com> (raw)
In-Reply-To: <87h7dkh04o.fsf@evledraar.gmail.com>
On 14.10.2021 4:19, Ævar Arnfjörð Bjarmason wrote:
> I'd be interested in a copy of it, I've been slowly trying to improve
> these sorts of corruption cases.
Sent.
> I wonder if this and other issues you encountered wouldn't need a full
> "fsck", but merely gc triggering a complete repack.
That sounds slow :( For example, it's going to be a lot of disk write
bandwidth. Just doing the verification along with regular gc sounds faster.
> Yes, we still definitely have cases where dealing with this sort of
> thing can be very painful.
With the new remote promisor code, I think that auto-fixing corrupted
blobs is easy enough (provided they can be found on any remote) ?
next prev parent reply other threads:[~2021-10-14 12:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-13 15:47 Suggestion: "verify/repair" option for 'git gc' Alexandr Miloslavskiy
2021-10-14 1:19 ` Ævar Arnfjörð Bjarmason
2021-10-14 12:47 ` Alexandr Miloslavskiy [this message]
2021-10-14 15:17 ` Ævar Arnfjörð Bjarmason
2021-10-14 20:23 ` Alexandr Miloslavskiy
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=96bf2eff-f4c8-cae8-76cb-6eeb233cd1d3@syntevo.com \
--to=alexandr.miloslavskiy@syntevo.com \
--cc=avarab@gmail.com \
--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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).