[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: write, then read delay with syncrepl/slapo-chain ?
- To: Peter Mogensen <apm@mutex.dk>
- Subject: Re: write, then read delay with syncrepl/slapo-chain ?
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Wed, 02 Jan 2008 18:23:01 +0100
- Cc: openldap-software@openldap.org
- In-reply-to: <476BDFBF.5030300@mutex.dk>
- References: <476BDFBF.5030300@mutex.dk>
- User-agent: Mail/News 1.5.0.8 (X11/20061210)
Peter Mogensen wrote:
> I haev a quick question which I haven't been able to find an answer to
> in the docs:
>
> I have a slapd master with a couple of slaves (syncrepl
> refreshAndPersist). I can get updates to be diverted to the master with
> the chain overlay, but as the FAQ says there'll be a small delay before
> the changes are replicated back to the slaves.
> Is there anyway to automatically direct subsequent reads of the changed
> attributes to the master?
Yes, there is: add the "don't use copy" control to the read request. If
your client has write, then read requirements, using the chain overlay
to avoid dealing with referrals is definitely a bad idea.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------