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

Re: Sync replication failure during startup.

Stelios Grigoriadis wrote:
On Fri, 2007-09-28 at 13:44 -0700, William R. Somsky wrote:
I've had a similar problem here. I don't really have much to add in the way of info for tracking it down, but here is an
additional question:

Once a replica server gets out of sync w/ the master in this way,
how does one get the replica back in sync? I've not been able
to figure that out, short of deleting the entire database on the replica and rebuilding it from scratch, which can take a
very long time.

IMO it's not worth answering this question until you know why things got out of sync in the first place.

To my knowledge, you can't. Since the replica contextCSN is
timestamped at a later time than the out-of-sync entries,
they can't be synced.

You obviously haven't read the slapd(8) manpage carefully enough. See the "-c" option.

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