From f9b3a8d3b9a0d83b47f2de6229db59221b4dd68d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Apr 2005 06:55:10 +0000 Subject: r6206: 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 (This used to be commit f4e12b38937bd8c16fd1a8b13401a65565d4bd00) --- source4/torture/rpc/samsync.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 96b5cce39f..0168a90f79 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -1219,7 +1219,11 @@ static BOOL test_DatabaseDeltas(struct samsync_state *samsync_state, TALLOC_CTX 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", -- cgit