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

Write, then read & mirror-mode



Hi,

I about to set up a mirror-mode server pair with a slapd-ldap proxy to access them through. But it strikes me that the small delay for replication may result in race conditions for applications which use write, then read of entries.

Like:
The application creates an object through the proxy, which forwards the add request to server-1. Immediately after the application tries to read the object back, but now the proxy have a small chance for redirecting the search request to server-2 ... before replication has been done?

Is this correct? Is there anyway to avoid it besides writing directly to server-1 or server-2 and reading back from the same server?

/Peter