[Date Prev][Date Next]
Re: syncrepl ramblings again
- To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
- Subject: Re: syncrepl ramblings again
- From: Howard Chu <email@example.com>
- Date: Wed, 01 Sep 2004 14:55:07 -0700
- Cc: Jong-Hyuk <jongchoi@OpenLDAP.org>, openldap-devel@OpenLDAP.org
- In-reply-to: <firstname.lastname@example.org>
- References: <413107F2.email@example.com> <firstname.lastname@example.org> <email@example.com> <41312BDD.firstname.lastname@example.org> <email@example.com>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714
Kurt D. Zeilenga wrote:
I'm not disputing the value of the sessionlog. But if a tombstone
carries entryDN, entryUUID, and entryCSN, then it would seem pretty
unambiguous to me. The client just says "send me everything >=
my-last-CSN" and everything should be fine. No?
What was the motivation for not keeping tombstones around?
Tombstones, in general, don't hold enough information for
the provider to determine whether or not a delete message
has been sent to a prticular client, resulting in need to
send extra deletes messages. Sessionlogs, on the other
hand, track exactly which deletes a client needs to see.
Note that the question the provider has to answer is
subtlely different than "what entries were deleted since
the client last sync'ed?" but "what delete messages does
the client need in order to sync?". Sessionlogs are better
at answering that question.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support