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

Re: slapo-chain and propagation delay

Emmanuel Dreyfus wrote:

I have a minor problem with slapo-chain: when a user makes a
modification on a replica, the modification is sent to the master, and
then pulled from the master through syncrepl.

It takes a short time to syncrepl for pulling the updated data from the
master, but that time is long enough for a web form to reload the
previous data, therefore giving the feeling that the modification has
been ignored.

Is ther any solution for that problem?

Rewrite your web form to not reload data after performing a modify. Or, use the postread control instead of issuing a new Search.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/