From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] fossil caching venti errors
Date: Sat, 28 Mar 2009 13:31:01 -0400 [thread overview]
Message-ID: <7074eaeba3db257fbc8ddf9c9d169cae@quanstro.net> (raw)
In-Reply-To: <20090328162750.GG22497@masters6.cs.jhu.edu>
> AFAIK the disk is doing just fine. Moreover, even during the period when
> fossil is complaining, venti/read on 9fs's score works just fine. So I
> don't believe the fault is venti's.
i don't believe that conclusion is warranted.
/sys/src/cmd/fossil/cache.c:683,684
is where this condition gets set. so either
the read fails or the score or length is bad.
%r is not set (see a few lines down) so when
combined with this report:
> This is likely too large a hammer, but when this happens I rebuild the venti index
> so that I can get past the issue. I see this more under Plan 9 than p9p. The
> block in error always exists in an arena and a checkarenas reports no errors.
> The problem usually persists across reboots until I reconstitute the index.
it's reasonable to guess that the block returned
might not be the right one.
in principle, this could be a drive failure,
bad memory or a venti bug. i don't have a
lot of venti experience, but i think this
/sys/src/cmd/venti/srv/lump.c:226,230
is where venti reads and it seems to insure
that the initial read double-checks scores.
it would 1e-80 hard for a drive error
to sneak by, so that leaves us with memory
errors or venti cache bugs.
it's hard to see how reindexing would fix
a cache bug, though. so maybe i'm all wet.
it would be interesting to know if the score
of the block returned by venti/read is correct.
- erik
next prev parent reply other threads:[~2009-03-28 17:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 3:48 Nathaniel W Filardo
2009-03-28 11:11 ` Charles Forsyth
2009-03-28 14:47 ` david bulkow
2009-03-28 15:13 ` erik quanstrom
2009-03-28 16:27 ` Nathaniel W Filardo
2009-03-28 17:31 ` erik quanstrom [this message]
2009-03-28 18:40 ` Nathaniel W Filardo
2009-04-08 14:44 ` Richard Miller
2009-04-08 14:56 ` ron minnich
2009-04-08 15:36 ` C H Forsyth
2009-04-08 15:55 ` Richard Miller
2009-04-08 16:46 ` cinap_lenrek
2009-04-08 17:01 ` cinap_lenrek
2009-04-08 17:28 ` Richard Miller
2009-04-08 17:41 ` cinap_lenrek
2009-04-08 18:18 ` Richard Miller
2009-04-08 17:36 ` Steve Simon
2009-03-28 20:38 erik quanstrom
2009-03-30 11:45 ` C H Forsyth
2009-03-30 11:55 ` C H Forsyth
2009-03-30 19:06 ` lucio
2009-03-30 19:15 ` erik quanstrom
2009-03-30 16:19 Pavel Klinkovsky
2010-01-08 6:53 Josef Artur
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=7074eaeba3db257fbc8ddf9c9d169cae@quanstro.net \
--to=quanstro@quanstro.net \
--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).