[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: Gavin Henry <ghenry@suretecsystems.com>
- Date: Wed, 02 Jan 2008 17:00:45 +0000
- Cc: openldap-software@openldap.org
- In-reply-to: <476BDFBF.5030300@mutex.dk>
- Organization: Suretec Systems Ltd.
- References: <476BDFBF.5030300@mutex.dk>
- User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Peter Mogensen wrote:
Hi,
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?
If you have access to the master why not just write to the master to
begin with?
Else I guess I'll have to implement referral chasing logic in the client
so it doesn't try to read from the slave immediately after writing (and
getting a referral).
regards,
Peter
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/