[SAMBA4] highestCommittedUSN support

Stefan (metze) Metzmacher metze at samba.org
Sun Feb 26 13:17:55 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luke Howard schrieb:
>> we could do, but it would mean re-writing the rootdse record on each
>> add/modify, in addition to the re-writing of the @BASEINFO record. I'm
>> concerned about the overhead of that. That's why I did
>> highestCommittedUSN as a generated attribute, much like the currentTime
>> field, except that it comes from the @BASEINFO record which ldb_tdb is
>> already maintaining.
> 
> You could just store it in memory and checkpoint it at regular intervals,
> it's easy to recover at startup -- this is effectively what OpenLDAP
> syncrepl does.
> 
>> Is there something else that maintaining it separately would gain us?
> 
> None, although it's possible if you want because the USN namespace is
> NC-local as far as replication is concerned.

on windows servers it's domain controller local not name space local...

tridge, but I'm fine with your patch for now.

metze

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEAaqCm70gjA5TCD8RAiItAJ9fHuRobI6nECw8+m6c4rEoQGfLfwCghfx6
GZ/ABuxU9xNsMnKKHHdzCIA=
=cM7Y
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list