[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6807) syncrepl sends incomplete sync cookie in MMR



Full_Name: Howard Chu
Version: HEAD/RE24
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (76.94.188.8)
Submitted by: hyc


In syncrepl_updateCookie() the cookie received from the provider is dup'd as-is.
If the provider is stopped and restarted, this same cookie will be sent back on
the next refresh attempt. In refreshAndPersist mode the cookies sent from the
provider will only contain a single CSN; CSNs from other MMR servers are
omitted. During a restart, because the consumer sends a cookie with only one
CSN, the provider will consider the consumer out of date.

A fix is coming shortly.