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

Re: segfaults with syncrepl



Buchan Milne wrote:
On Friday 27 June 2008 19:26:22 Liutauras Adomaitis wrote:
hello everybody,

I'm quite new to OpenLdap. Actually i've been using it for a few years, but
I have no deep knowlege.
The problem I'm facing is my cosumer replicas are segfaulting.

There were a number of fixes to syncrepl in 2.4.9.

My design:
I have one master with several o=BranchX,dc=example,dc=com This is
provider. I have several (the number is X-1) replicas, consumers.
All consumers are replicating its branch o=BranchX,dc=example,dc=com and
one common branch o=BranchMain,dc=example,dc=com.
The picture is  like this:

Provider
o=BranchMain,dc=example,dc=com
o=Branch1,dc=example,dc=com
o=Branch2,dc=example,dc=com
.....
o=BranchX,dc=example,dc=com

Consumer 1:
o=BranchMain,dc=example,dc=com
o=Branch1,dc=example,dc=com

Consumer 2:
o=BranchMain,dc=example,dc=com
o=Branch2,dc=example,dc=com

But it seems you have implemented this by using a single database at dc=example,dc=com, with multiple syncrepl statements (one for each subtree that you replicate). As far as I know, this in not supported.

No. Multiple consumers in one DB are supported in 2.4.

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