From 8aa30f958073203588a4faa75b963bad83a0db41 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 26 Apr 2010 21:48:29 +1000 Subject: s4-repl: on a failed request, clear the current ptr this prevents the queue being stuck on failure --- source4/dsdb/repl/drepl_out_pull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/dsdb/repl/drepl_out_pull.c b/source4/dsdb/repl/drepl_out_pull.c index 101214609a..329b298d94 100644 --- a/source4/dsdb/repl/drepl_out_pull.c +++ b/source4/dsdb/repl/drepl_out_pull.c @@ -171,6 +171,7 @@ void dreplsrv_run_pending_ops(struct dreplsrv_service *s) rf->result_last_attempt = WERR_NOMEM; rf->consecutive_sync_failures++; + s->ops.current = NULL; DEBUG(1,("dreplsrv_op_pull_source(%s/%s) failures[%u]\n", win_errstr(rf->result_last_attempt), -- cgit