[Date Prev][Date Next]
Re: delta syncrepl error: "text=sync cookie is stale"
--On Wednesday, May 03, 2006 4:37 PM -0700 Ben Poliakoff <firstname.lastname@example.org>
I haven't found a lot of discussion about troubleshooting delta syncrepl
configurations. Where do I start? What causes a cookie to get "stale"?
Well, the first thing I would do is get the necessary patches to 2.3.21 for
delta-syncrepl to work correctly (There are problems with the access log
overlay, and with the fine-grainedndess of indexing reqStart). You can
find them at:
However, I think the problem you are reporting will not be fixed by these
particular patches. They certainly will, however, make delta-syncrepl
function like it is supposed to for other cases.
I've not tested having delta-syncrepl pull down an entire DB and then run.
Some things to check are:
contextCSN of the master (ldapsearch -b "your base" -s base +)
ldapsearch -h ldap-master -b "dc=stanford,dc=edu" -s base +
contextCSN of accesslog:
ldapsearch -h ldap-master -b "cn=accesslog" -s base +
contextCSN of the replica:
ldapsearch -h ldap -b "dc=stanford,dc=edu" -s base +
They should all be the same (as you see here).
Principal Software Developer
ITS/Shared Application Services
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html