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

Re: (ITS#5709) slapd sync provider skips some objects



sylvain.thomas@gmail.com wrote:
> On 10/30/08, Gavin Henry<ghenry@openldap.org>  wrote:
>> Can you upload these zip attachments to our ftp server or somewhere else
>> with online
>> access please. Then we can test.
>>
>
> I have uploaded the two files to your ftp server (incoming folder).

I can confirm that the problem is easily reproducable.

Adding a debug message here
diff -u -r1.248 syncprov.c
--- syncprov.c	17 Oct 2008 15:40:49 -0000	1.248
+++ syncprov.c	31 Oct 2008 21:06:56 -0000
@@ -1638,6 +1638,7 @@
  				si->si_sids[i] = sid;
  			}
  		} else {
+			Debug( LDAP_DEBUG_SYNC, "Empty maxcsn for %s\n", op->o_req_dn.bv_val, 0, 0 );
  			/* internal ops that aren't meant to be replicated */
  			ldap_pvt_thread_rdwr_wunlock( &si->si_csn_rwlock );
  			return SLAP_CB_CONTINUE;

shows that some of the missing entries are caused by this situation, but not 
necessarily all. Still investigating.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/