From d87d11eb094ee3522db96665b071c966ccd6810e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 6 Feb 2007 00:06:09 +0000 Subject: [PATCH] Add a debug message when skipping an old entry. --- servers/slapd/syncrepl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 7e72db64f4..053f9d0ae0 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2746,6 +2746,12 @@ dn_callback( slap_schema.si_ad_entryCSN ); if ( new && old && ber_bvcmp( &old->a_vals[0], &new->a_vals[0] ) >= 0 ) { + Debug( LDAP_DEBUG_SYNC, + "dn_callback : new entry is older than ours " + "%s ours %s, new %s\n", + rs->sr_entry->e_name.bv_val, + old->a_vals[0].bv_val, + new->a_vals[0].bv_val ); return LDAP_SUCCESS; } -- 2.39.5