[Pkg-db-devel] Bug#469221: apt-listchanges: Failed with "bsddb.db.DBRunRecoveryError" error

Steve Langasek vorlon at debian.org
Tue Mar 11 08:30:39 UTC 2008


On Mon, Mar 10, 2008 at 09:31:52PM -0400, Clint Adams wrote:
> On Fri, Mar 07, 2008 at 05:03:54PM -0800, Steve Langasek wrote:
> > For my part, I don't know.  A search on bugs.python.org does turn up this
> > entry, which looks like it might be related:

> >    http://bugs.python.org/issue834461

> > I don't know that this explains the empty results from d.get(), but it may
> > explain the deadlock mentioned in my last message, as the concurrent reader
> > threads do use cursors.

> Are the python codepaths identical between hash and btree other than the
> constant, with regard to cursors or othrewise?

Yes; the classes for the tests are defined as:

class BTreeSimpleThreaded(SimpleThreadedBase):
    dbtype = db.DB_BTREE

class HashSimpleThreaded(SimpleThreadedBase):
    dbtype = db.DB_HASH

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-db-devel mailing list