s4-repl: added a preiodic notification check to the repl task
commit55a9ea2b33cbcd39ae44972b71922c9c87748d75
authorAndrew Tridgell <tridge@samba.org>
Sun, 13 Sep 2009 08:16:13 +0000 (13 18:16 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 13 Sep 2009 23:40:37 +0000 (13 16:40 -0700)
treeb95d3b2aa1222f571aef83d10a48a71ab0d29e6d
parent348efd5cbb2e7880671cbc75d01b92c4c9008d9e
s4-repl: added a preiodic notification check to the repl task

The dreplsrv_notify code checks the partition uSN values every N
seconds, and if one has changed then it sends a DsReplicaSync to all
the replication partners listed in the repsTo attribute for the
partition.
source4/dsdb/config.mk
source4/dsdb/repl/drepl_notify.c [new file with mode: 0644]
source4/dsdb/repl/drepl_out_helpers.c
source4/dsdb/repl/drepl_out_pull.c
source4/dsdb/repl/drepl_periodic.c
source4/dsdb/repl/drepl_service.c
source4/dsdb/repl/drepl_service.h