[Freeipa-devel] DNS SOA serial managed by 389 DS plugin: design

Simo Sorce simo at redhat.com
Mon Feb 11 16:23:53 UTC 2013


On Mon, 2013-02-11 at 15:37 +0100, Petr Spacek wrote:
> Possible optimization
> 
> Increment serial value at most once per second.
> 
> Basic idea: Write current timestamp (no incrementation) and write
> serial value 
> to the database with one second delay.
> 
> Problem: How to solve LDAP server crash? Write timestamp immediately
> and 
> (while reading) subtract 1 if timestamp == serial?
> 
I am not sure I understand the solution here ?

Maybe a simpler solution is to always write the serial as time() + 1 ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list