URL:
https://github.com/SSSD/sssd/pull/999
Title: #999: Mem-cache fixes/improvements
alexey-tikhonov commented:
"""
But while testing I realized that I see the mem cache full log
message not the at the first time the cache was full. I think this is caused by an older
issue where `mcc->next-slot` is not updated while the cache is filled for the first
time.
Thank you for the great catch.
Well, I wanted to leave this for a separate PR, but ...
You are right that this is a bug in the original code. And while being quite harmless in
the original implementation, this old bug indeed creates issue in the context of my
patches.
I tend to agree that additional patch proposed by you would fix this issue.
But since we are touching `sss_mc_find_free_slots()` anyway, I am going to incorporate in
this patches what I was going to propose as a separate PR.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/999#issuecomment-606083747