git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b18b33
)
s4-repl: on a failed request, clear the current ptr
author
Andrew Tridgell
<tridge@samba.org>
Mon, 26 Apr 2010 11:48:29 +0000
(21:48 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Apr 2010 00:38:58 +0000
(10:38 +1000)
this prevents the queue being stuck on failure
source4/dsdb/repl/drepl_out_pull.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/repl/drepl_out_pull.c
b/source4/dsdb/repl/drepl_out_pull.c
index 101214609af2b9caa96c3250857702a0403bf487..329b298d94b77f4f17846ecdd4b2ba17fdb83d79 100644
(file)
--- 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),