diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-26 21:48:29 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-27 10:38:58 +1000 |
commit | 8aa30f958073203588a4faa75b963bad83a0db41 (patch) | |
tree | 7063207cf2586928026f3f58284e868cf7c712fc /source4/dsdb/repl | |
parent | 9b18b339c00953490158b40d291032b14e6fc645 (diff) | |
download | samba-8aa30f958073203588a4faa75b963bad83a0db41.tar.gz samba-8aa30f958073203588a4faa75b963bad83a0db41.tar.bz2 samba-8aa30f958073203588a4faa75b963bad83a0db41.zip |
s4-repl: on a failed request, clear the current ptr
this prevents the queue being stuck on failure
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_out_pull.c | 1 |
1 files changed, 1 insertions, 0 deletions
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), |