9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] fossil archive corruption - solved
Date: Thu, 22 Mar 2012 19:24:16 +0000	[thread overview]
Message-ID: <d8567b09bf095c62ee4fc68d6c1ec873@hamnavoe.com> (raw)
In-Reply-To: <CANUoZoFygdgrpeFEu+f5j--YtMJS-pmw_MLaPQL_V_ESm9LMtw@mail.gmail.com>

> I've not been able to easily reproduce this problem.
> How did you proceed?

Not very reproducible, but I found it could be encouraged to happen
(on a sacrificial secondary fossil+venti) with this:
	tar c /n/xfossil/sys/src >/dev/null &
	while (sleep 60) echo snap -a >>/srv/xfscons

An easily recognisable consequence when it fails is a BtDir block with
invalid contents.  So I peppered the source with diagnostics checking
for that, until I was able to spot exactly where it happened.




  reply	other threads:[~2012-03-22 19:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 16:30 Richard Miller
2012-03-22 16:48 ` cinap_lenrek
2012-03-22 17:57 ` Steve Simon
2012-03-22 20:06   ` steve
2012-03-22 18:32 ` David du Colombier
2012-03-22 19:24   ` Richard Miller [this message]
2012-03-22 19:54     ` Nemo

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=d8567b09bf095c62ee4fc68d6c1ec873@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /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).