From 7eeeaaf06de6234b142eff2db76b42076dcc47a3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 25 Jan 2007 04:10:18 +0000 Subject: [PATCH] ITS#4810 log a message if be_entry_get doesn't return the entry we want --- servers/slapd/overlays/syncprov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index ddb81a3336..c6cef4a71b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -842,7 +842,10 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) if ( sr->s_mode != LDAP_SYNC_DELETE ) { rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e ); if ( rc ) { + Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, " + "ignoring...\n", opc.sndn.bv_val ); ch_free( sr ); + rc = 0; continue; } } -- 2.39.5