https://bugs.openldap.org/show_bug.cgi?id=10274

--- Comment #8 from Ondřej Kuzník <[email protected]> ---
On Mon, Dec 09, 2024 at 01:14:24PM +0000, [email protected] wrote:
> Hello,
> 
> In addition to my previous comment, we are wondering about the "run the test
> with a patched slapd" that you mentioned.
> 
>> If the issue persists, the gaps tend to be around slap_queue_csn/
>> slap_graduate_commit_csn. Are you able to run the test with a patched
>> slapd, logging how many slap_csn_entry items slap_graduate_commit_csn
>> had to crawl before it found the right one? This list shouldn't keep
>> growing so that's one thing I'd like to rule out.
>
> Do you already have a patched version to achieve this? If not, what are you
> referring to exactly ? Customize the code to perform the requested count?
> Thank's

Hi,
sorry for not coming back you sooner.

Yes, count how many items slap_graduate_commit_csn[0] had to walk before
it found what it wanted and maybe log it alongside the rest on line
#122. I don't have a specific patch but if you are struggling to prepare
one I can help.

If logs indicate this count indeed starts to grow out of hand, there
might be enough info in there as to when/why that started. But walking
the first few entries in gdb and looking at the CSNs in there might also
be needed to cross-reference.

[0].
https://git.openldap.org/openldap/openldap/-/blob/master/servers/slapd/ctxcsn.c#L118-130

Thanks,

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to