SUG: RPM database verification / repair, nightly and in Anaconda

Panu Matilainen pmatilai at laiskiainen.org
Tue Nov 21 07:43:17 UTC 2006


On Tue, 21 Nov 2006, seth vidal wrote:

> On Mon, 2006-11-20 at 17:49 -0600, Steven Pritchard wrote:
>> On Mon, Nov 20, 2006 at 04:38:23AM -0800, Otto Rey wrote:
>>> This sound good, but first we need to detect why rpms database got corrupted.
>>
>> It's Berkeley DB.  Corruption should be expected.  :-/
>>
>
> I guess I'm a little confused here, actually.
>
> Let's take bsddb out of the example.
>
> If I'm a client of an oracle db and I repeatedly open, read, close the
> database using the interface available, for small amounts of data that
> might not be the most efficient use of the database connection.
>
> However, if as a result of open-read-close the database is corrupted
> and/or rendered unusable where would you say the bug lies?
>
> To me it seems like a valid client connection should not be able to
> corrupt a database simply by open-read-closing no matter how many times.
> And if it can then clearly there is something wrong with the database
> code.

Well, obviously. I think that's exactly what Steven means... Personal 
experience with both subversion repos using Berkeley DB storage and rpmdb 
has made me too expect nothing else but eventual corruption from BDB :-/

 	- Panu -




More information about the fedora-devel-list mailing list