https://bugs.openldap.org/show_bug.cgi?id=9282
--- Comment #10 from Ondřej Kuzník ondra@mistotebe.net --- On Thu, Jul 02, 2020 at 03:31:14PM +0000, openldap-its@openldap.org wrote:
--- Comment #9 from Howard Chu hyc@openldap.org --- (In reply to Howard Chu from comment #7)
Yes, the problem that was being addressed is that if the local node knows about more SIDs than the remote node, then the incoming present list from the remote node can't be trusted. Doing a del_nonpresent could delete a lot of entries that the remote node doesn't know about, but exist legitimately on the local node.
More on this, from https://bugs.openldap.org/show_bug.cgi?id=5470#c15
We could try changing del_nonpresent to ignore entries with entryCSN newer than the current remote cookie, instead of ignoring the entire presentlist.
And that's what you've touched on in ITS#5470 (4673c99e96fdc70ef96b84a9aa4de6141f26e6df) already but had to partially revert in ac037d3a13ce56f72ef24c8e17fc944c39c71e72 since there is still no way to LE compare only within the same SID, but I repeat myself.