https://bugs.openldap.org/show_bug.cgi?id=9719
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to Ondřej Kuzník from comment #0)
Syncprov will send an empty cookie if the consumer has the same cookie as provider. To the best of my knowledge this is not in line with RFC4533 and consumers would effectively drop their cookie when the search finishes.
Pretty sure this has always been the intended behavior, even if not spelled out in the RFC. You can check against the original syncrepl implementation in 2.2.
No bug here. The consumer doesn't update its local cookie if none was received from the provider.