samba-technical@lists.samba.org
[Top] [All Lists]

Re: [SAMBA4] highestCommittedUSN support

Subject: Re: [SAMBA4] highestCommittedUSN support
From:
Date: Sun, 26 Feb 2006 12:43:10 +1100
Luke,

 > 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.

unfortunately it would means that on a crash we would lose info. We
would have records with usnChanged > highestCommittedUSN, which might
have implications for replication. Having gone to the trouble of
adding safe transactions and journaling to tdb I don't want to go back :-)

We already maintain a sequenceNumber that behaves just like
highestCommittedUSN in @BASEINFO inside ldb, so I'm inclined to just
use that.

 > None, although it's possible if you want because the USN namespace is
 > NC-local as far as replication is concerned.

interesting - I assumed it would matter, at the very least for our NT4
style samsync replication. What do you use for that in XAD ?

Cheers, Tridge

<Prev in Thread] Current Thread [Next in Thread>