diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-04-05 06:55:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:25 -0500 |
commit | f9b3a8d3b9a0d83b47f2de6229db59221b4dd68d (patch) | |
tree | 9b4ee03562580ccd9e2df7fc80715d99575891ff /source4 | |
parent | 4baf0b01c40bd2b8cfd19d34ee573e6c01614100 (diff) | |
download | samba-f9b3a8d3b9a0d83b47f2de6229db59221b4dd68d.tar.gz samba-f9b3a8d3b9a0d83b47f2de6229db59221b4dd68d.tar.bz2 samba-f9b3a8d3b9a0d83b47f2de6229db59221b4dd68d.zip |
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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/samsync.c | 6 |
1 files changed, 5 insertions, 1 deletions
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", |