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

Re: slurpd and back-config



I assume this proposal is concerning OL 2.3. If I am correct, does that mean that support for syncrepl is falling away? If not, I'm surprised that the proposal would not be the removal of slurpd in favor of having people migrate to the syncrepl process.

F

On 5/20/05 9:08 PM, Howard Chu wrote:
It doesn't seem worthwhile to pull in all the changes needed to bring slurpd up to date here. I'm more inclined to implement slurpd-like functionality in slapd, and delete slurpd.

First we could move the existing replog functionality into an overlay, as I've suggested before. Next the overlay itself could submit update tasks (using the thread pool or the runqueue, as appropriate) to update remote servers. It could use libldap_r directly, or it could operate through back-ldap/back-meta. I'm somewhat favoring the back-ldap/back-meta approach, as it opens the possibility to use the rewrite overlay in the replication process.

The one thing we'd lack is a standalone/one-shot mode, but we could create a slaptool for that purpose. E.g., define a SLAP_BFLAG for "one-shot" mode; whenever the tool runs it will invoke all the backends/whatever that have this flag defined and skip anything that doesn't have it defined.