[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Multi Master replication with many 'nonpresent_callback' lines





On 05/02/2017 11:19 PM, Quanah Gibson-Mount wrote:
--On Tuesday, May 02, 2017 3:10 PM +0000 Jesper Grøndahl <grondahl@ruc.dk> wrote:


However, as you can see I still get the "nonpresent_callback" lines for
each user. I can see that if you set "olcSpNoPresent: TRUE" in the
syncprov overlay entry the lines disappear.
But I can understand that it should only be done if you have an acceslog.

So is it really necessary to go through all the objects in the database
every time you modify a single record when you have a mmr setup?
It just seems like a lot of information written to the log and a lot of
work every time a single record is modified.

Do you have a session log configured?

--Quanah

No I didn't. But now you mentioned it I have tried to add olcSpCheckpoint and olcSpSessionlog to my syncprov overlay so it looks something like this

/etc/ldap/slapd.d/cn=config/olcDatabase={1}mdb/olcOverlay={0}syncprov.ldif:

dn: olcOverlay={0}syncprov
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
olcSpCheckpoint: 100 10
olcSpSessionlog: 100
structuralObjectClass: olcSyncProvConfig

Now the 'nonpresent_callback' lines have disappeared, but instead I see a lot of entries like 'dn_callback : entries have identical CSN'. I haven't had time to look into how to fix that. But I don't know if the olcSpCheckpoint and olcSpSessionlog values I have added makes sense.

--
Jesper