[Date Prev][Date Next]
(ITS#6807) syncrepl sends incomplete sync cookie in MMR
Full_Name: Howard Chu
Submission from: (NULL) (18.104.22.168)
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.