summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_service.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-17 23:12:10 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-17 23:55:39 +1100
commit73016ad40523d4d41114c7b4d6bb2a46815bb597 (patch)
tree2e4e10cac687b70667530e84efc21d68119db747 /source4/dsdb/repl/drepl_service.h
parente17ea9f3f5019cd95ace6920ba73129cda0adf55 (diff)
downloadsamba-73016ad40523d4d41114c7b4d6bb2a46815bb597.tar.gz
samba-73016ad40523d4d41114c7b4d6bb2a46815bb597.tar.bz2
samba-73016ad40523d4d41114c7b4d6bb2a46815bb597.zip
s4-repl: ensure we don't starve pending replication ops
when there was a continuous sequence of notify ops, we could leave the replication ops starving. This ensures we run whichever was queued first
Diffstat (limited to 'source4/dsdb/repl/drepl_service.h')
-rw-r--r--source4/dsdb/repl/drepl_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h
index 9ad62fd538..d69c641178 100644
--- a/source4/dsdb/repl/drepl_service.h
+++ b/source4/dsdb/repl/drepl_service.h
@@ -119,6 +119,7 @@ typedef void (*dreplsrv_extended_callback_t)(struct dreplsrv_service *,
struct dreplsrv_out_operation {
struct dreplsrv_out_operation *prev, *next;
+ time_t schedule_time;
struct dreplsrv_service *service;
@@ -133,6 +134,7 @@ struct dreplsrv_out_operation {
struct dreplsrv_notify_operation {
struct dreplsrv_notify_operation *prev, *next;
+ time_t schedule_time;
struct dreplsrv_service *service;
uint64_t uSN;