[Xapian-discuss] Atomic DB rebuilds

Richard Boulton richard at tartarus.org
Tue Oct 5 10:50:08 BST 2004


On Tue, 2004-10-05 at 09:22 +0100, Sam Liddicott wrote:
> Does omega chdir to the database dir before opening all the files?

No.

>  Or is there a race condition as the symlink changes if a DB is being
> opened?

I think there is.  Possibly this could be solved by using readlink(2) to
read the actual path pointed to by the symlink, and constructing the
database path based on the real path.

-- 
Richard Boulton <richard at tartarus.org>




More information about the Xapian-discuss mailing list