In article <[email protected]>,
 Anne Bennett <[email protected]> wrote:

> Laurent Weislo <[email protected]> writes:
> 
> > After a bunch of years and under heavy load on the master, we lost almost
> > 4K records because the domain file seems to have been loaded while being
> > generated.
> 
> Wouldn't the best solution be to modify your generation process
> to write to temporary files, and then to move them into place
> when fully built, rather than leaving significant amounts of
> time during which your zone file is in a partially built state?

This is definitely the right solution. As long as you're moving within 
the same filesystem, this is an atomic rename operation.

-- 
Barry Margolin
Arlington, MA
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to