[Xapian-discuss] Twisted + Xapian WriteableDatabase leaves db_lock file on exit.

Olly Betts olly at survex.com
Wed May 3 14:06:59 BST 2006


On Tue, May 02, 2006 at 11:25:25PM -0400, jarrod roberson wrote:
> xapian and xapian bindings 0.9.2 svn 6532

That's rather old - is this reproducible with 0.9.5?

> It leaves the db_lock file everytime and I don't know what else it might not
> be cleaning up correctly either.

The db_lock file gets deleted when the C++ WritableDatabase destructor
is called.  So if it's not deleted, then the destructor isn't being
called.

If you can reproduce with the latest release in a simple example
(ideally without twisted being involved), I can try to investigate.

Cheers,
    Olly



More information about the Xapian-discuss mailing list