[Xapian-discuss] Atomic DB rebuilds
Olly Betts
olly at survex.com
Tue Oct 5 14:07:08 BST 2004
On Tue, Oct 05, 2004 at 01:44:48PM +0100, Richard Boulton wrote:
> I have some doubts that chdir() will successfully solve the problem.
> [snip analysis]
You're right - I'd not considered the multidatabase case.
Furthermore, it's also not terribly friendly to an application using
Xapian to change the current directory underneath their feet.
Actually things are already broken here - if an application opens a
database with a relative path and then does chdir(), quartz won't
cope well I suspect.
Looks like we need to canonicalise the path to the database directory
by eliminating symlinks and making it absolute.
Cheers,
Olly
More information about the Xapian-discuss
mailing list