[389-users] Read data immediately after write
Michael Ströder
michael at stroeder.com
Thu Oct 8 08:38:40 UTC 2009
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.
More information about the Fedora-directory-users
mailing list