getncchanges: calculate getnc_state->min_usn calculation based on the uptodateness...
commit616767e922cbd3a0499e4dc84c4b988d065fa16b
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Feb 2017 11:37:16 +0000 (7 12:37 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 13 Feb 2017 23:24:26 +0000 (14 00:24 +0100)
treed31a74ffe420395b4a1f5372d6d1a97fd65309a5
parent5983215f29556f90fd9ab75cf9475d96f2e9d4fa
getncchanges: calculate getnc_state->min_usn calculation based on the uptodateness vector

This should improve initial replication of a fresh destination dsa with
a zero highwatermark.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12398

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c61d0c8957bf4eade5da93f4f22ae5f3ce2e7403)
source4/rpc_server/drsuapi/getncchanges.c