Re: [Refdb-devel] DB_VERSION redux
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-09-27 11:26:25
|
David Nebauer <dav...@sw...> was heard to say: > I ran the server in standalone mode to capture log output and, lo and > behold, the version file updated on the first database read. No idea > why earlier attempts failed. > Come to think of it, the version file will not be updated if you run refdbd -a. This will update the main database if necessary, but the version file gets updated only as soon as refdbd forks to handle a client request. I probably ran refdbd -s after each refdbd -a run to see whether refdbd starts up correctly. Therefore I always saw the version file being updated. Would it be hard to change your install scripts and get rid of DB_VERSION in favour of a refdbd -c call? I'd suggest to drop DB_VERSION then. I could also make the refdbd -c output easier to parse. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |