[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Are __db.00[123] lock files or not?
- From: Jeff Johnson <jbj redhat com>
- To: rpm-list redhat com
- Subject: Re: Are __db.00[123] lock files or not?
- Date: Thu, 15 Jan 2004 15:58:08 -0500
On Thu, Jan 15, 2004 at 07:02:54PM -0200, Andre Costa wrote:
> Thks a lot for the excellent explanation, Jeff =)
>
> ... but, I must say it raised yet another question: these instructions
> [http://www.rpm.org/hintskinks/repairdb/] explicitely refer to
> /var/lib/rpm/__db* as lock files, and say they have to be removed prior
> to a DB rebuild. I am probably mixing apples and oranges, but it seems
> to go against what you say below. Could you please calrify it a little
> further?
"lock files" -- in some English sense -- is an appropriate term for files
that contain locks.
I'm not sure what to clarify. There are 3 types of information in
__db* files:
1) a Berkeley DB version number that makes upgrades painful.
2) ptrs to locks that can be shared within a dbenv.
3) a "warm cache", i.e. a lookaside cache for retrieved data.
Go shop a better answer somewhere else if you don't believe me ...
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]