The Samba-Bugzilla – Attachment 13419 Details for
Bug 12921
DsReplicaSync triggers notifications, not inbound replication first
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.7 cherry-picked from master
0001-s4-drepl-Block-GetNCChanges-during-a-DsReplicaSync.patch (text/plain), 1.40 KB, created by
Andrew Bartlett
on 2017-07-24 06:38:36 UTC
(
hide
)
Description:
patch for 4.7 cherry-picked from master
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2017-07-24 06:38:36 UTC
Size:
1.40 KB
patch
obsolete
>From 3376d1b57b599094f1eb03027d0581820378b699 Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Sat, 22 Jul 2017 22:00:59 +1200 >Subject: [PATCH] s4-drepl: Block GetNCChanges during a DsReplicaSync > >If we do not block these, we can get RPC faults >(DCERPC_NCA_S_PROTO_ERROR) which gives WERR_WRITE_FAULT back to the >DsReplicaSync call as there are two outstanding requests on the wire >at the one time. > >We will get to the next operation as soon as this is finished >when we call run_pending_ops(). > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12926 > >Signed-off-by: Andrew Bartlett <abartlet@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Sun Jul 23 12:32:49 CEST 2017 on sn-devel-144 > >(cherry picked from commit f1e4ae9971e61f7c4a43ae0049a1162cc2e3dafb) >--- > source4/dsdb/repl/drepl_out_pull.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/dsdb/repl/drepl_out_pull.c b/source4/dsdb/repl/drepl_out_pull.c >index 8af6412..8b8ecd9 100644 >--- a/source4/dsdb/repl/drepl_out_pull.c >+++ b/source4/dsdb/repl/drepl_out_pull.c >@@ -198,7 +198,7 @@ void dreplsrv_run_pull_ops(struct dreplsrv_service *s) > struct tevent_req *subreq; > WERROR werr; > >- if (s->ops.current) { >+ if (s->ops.n_current || s->ops.current) { > /* if there's still one running, we're done */ > return; > } >-- >2.9.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12921
:
13419
|
13420