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
Tero Saarni
OpenLDAP
Commits
a73ddda5
Commit
a73ddda5
authored
Oct 13, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Dec 08, 2021
Browse files
ITS#9282 Skip old accesslog entries even in delta-refresh
parent
8d428f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
a73ddda5
...
@@ -3031,6 +3031,14 @@ syncrepl_message_to_op(
...
@@ -3031,6 +3031,14 @@ syncrepl_message_to_op(
}
else
if
(
!
ber_bvstrcasecmp
(
&
bv
,
}
else
if
(
!
ber_bvstrcasecmp
(
&
bv
,
&
slap_schema
.
si_ad_entryCSN
->
ad_cname
)
)
&
slap_schema
.
si_ad_entryCSN
->
ad_cname
)
)
{
{
int
i
,
sid
=
slap_parse_csn_sid
(
bvals
);
ldap_pvt_thread_mutex_lock
(
&
si
->
si_cookieState
->
cs_mutex
);
i
=
check_csn_age
(
si
,
&
bdn
,
bvals
,
sid
,
(
cookie_vals
*
)
&
si
->
si_cookieState
->
cs_vals
,
NULL
);
ldap_pvt_thread_mutex_unlock
(
&
si
->
si_cookieState
->
cs_mutex
);
if
(
i
==
CV_CSN_OLD
)
{
goto
done
;
}
slap_queue_csn
(
op
,
bvals
);
slap_queue_csn
(
op
,
bvals
);
do_graduate
=
1
;
do_graduate
=
1
;
}
}
...
...
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