[Xapian-discuss] Unlocking Quartz database

Olly Betts olly at survex.com
Sun Oct 30 22:43:38 GMT 2005


On Mon, Oct 31, 2005 at 12:20:50AM +0200, David Levy wrote:
> I did not find in the list archive any way to unlock it whether by hand or
> with a script.

If you're sure the updating process is no longer running, just delete
the file "db_lock" from inside the database directory.  Updates are
atomic, so the database will still be in a consistent state.

The still-under-development Flint backend uses fcntl() for locking, so
locks are automatically released if the process holding them dies.

Cheers,
    Olly



More information about the Xapian-discuss mailing list