In article <mailman.694.1539872556.803.bind-us...@lists.isc.org>,
 Anne Bennett <a...@encs.concordia.ca> wrote:

> Laurent Weislo <laurent.wei...@gmail.com> 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
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to