[389-users] Read data immediately after write
Ankur Agarwal
ankur_agwal at yahoo.com
Fri Oct 9 19:17:20 UTC 2009
Can i use chaining between master-slave without having different "ou"? I mean if i have exactly same directory structure and same set of OUs can i still have chaining between master and slave?
Cheers,
Ankur
--- On Thu, 10/8/09, Michael Ströder <michael at stroeder.com> wrote:
From: Michael Ströder <michael at stroeder.com>
Subject: Re: [389-users] Read data immediately after write
To: "General discussion list for the 389 Directory server project." <fedora-directory-users at redhat.com>
Date: Thursday, October 8, 2009, 1:38 AM
Ankur Agarwal wrote:
>
> I have a master-slave set-up with write operations always being done to
> the master node. Now there is an issue where i need to read some data
> immediately after write, and my read request goes to the slave. It fails
> in cases when replication hasnt happened from master to slave before
> this read operation.
You simply should not do that. Read from the master if you have to rely on the
consistency of what you recently wrote to the master.
> Is there a LDAP level configuration to handle this situation?
> Can chaining help in this case?
No. (Except chaining the read requests of the writing client to the master
which you don't want I guess).
Ciao, Michael.
--
389 users mailing list
389-users at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20091009/ba3beea9/attachment.htm>
More information about the Fedora-directory-users
mailing list