On Thu, 23 Jun 2011 13:01:54 +0100
Martin Gregorie <mar...@gregorie.org> wrote:

> Does that mean you you can take a copy of the current CBD database,
> add the new tokens offline and then stop CDB, rename the copy so it
> replaces the live copy and restart CDB? If so , that would give a
> remarkably short gap in service.

There's no gap in service.  CDB is a file format, not a server.  So
you create a file called "something.new", populate it and then atomically
rename it to "something".

At all times, scanners will be using either the old or the new data.
There's never any time when CDB is unavailable.  (This works under
UNIX, which has sensible filesystem semantics.  It probably wouldn't
work well under Windows... but who cares? :))

Regards,

David.

Reply via email to