svn commit: samba r6206 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Tue Apr 5 06:55:11 GMT 2005


Author: metze
Date: 2005-04-05 06:55:10 +0000 (Tue, 05 Apr 2005)
New Revision: 6206

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6206

Log:
go baack 10 revisions to get DatabaseDeltas, this shows that the bdc only 
need one call to get in sync again (except something like NT_STATUS_MORE_ENTRIES is returned)

also the pdc only need to know the current state values

metze

Modified:
   branches/SAMBA_4_0/source/torture/rpc/samsync.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samsync.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-04-05 01:24:10 UTC (rev 6205)
+++ branches/SAMBA_4_0/source/torture/rpc/samsync.c	2005-04-05 06:55:10 UTC (rev 6206)
@@ -1219,7 +1219,11 @@
 
 		if (r.in.sequence_num == 0) continue;
 
-		r.in.sequence_num -= 1;
+		/* this shows that the bdc doesn't need to do a single call for
+		 * each seqnumber, and the pdc doesn't need to know about old values
+		 * -- metze
+		 */
+		r.in.sequence_num -= 10;
 
 
 		printf("Testing DatabaseDeltas of id %d at %llu\n", 



More information about the samba-cvs mailing list