Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
970244fe
Commit
970244fe
authored
Sep 30, 2011
by
Howard Chu
Committed by
Quanah Gibson-Mount
Nov 02, 2011
Browse files
ITS#7052 syncrepl deletes need a non-empty CSN
Must not let the underlying DB generate its own.
parent
36f3c929
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
970244fe
...
...
@@ -2817,9 +2817,7 @@ syncrepl_entry(
/* FIXME: op->o_csn is assumed to be
* on the thread's slab; this needs
* to be cleared ASAP.
* What happens if already present?
*/
assert
(
BER_BVISNULL
(
&
op
->
o_csn
)
);
op
->
o_csn
=
a
->
a_vals
[
0
];
freecsn
=
0
;
}
...
...
@@ -3160,6 +3158,9 @@ retry_modrdn:;
op
->
o_req_ndn
=
dni
.
ndn
;
op
->
o_tag
=
LDAP_REQ_DELETE
;
op
->
o_bd
=
si
->
si_wbe
;
if
(
!
syncCSN
)
{
slap_queue_csn
(
op
,
si
->
si_syncCookie
.
ctxcsn
);
}
rc
=
op
->
o_bd
->
be_delete
(
op
,
&
rs_delete
);
Debug
(
LDAP_DEBUG_SYNC
,
"syncrepl_entry: %s be_delete %s (%d)
\n
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment