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

Re: (ITS#7399) ¡¾Syncrepl¡¿when consumer doing the syncrepl with the provider, reboot the consumer, the cusummer does not continue the task any more



xinrong.li@163.com wrote:
> Full_Name: mark
> Version: 2.4.20
> OS: sles11
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (113.116.144.106)
>
>
The current version is 2.4.32. Bugs in old versions will not be investigated. 
If you can still encounter this issue in the current release, we can work from 
there. For now this ITS will be closed.

> I meet some problem when doing as following:
> --> consumer and provider OK. mean that if you add/delete some records to
> provider, consumer will sync with the provder
>
> --> let consumer ldap service stop
> --> provider add 100 records
> --> consumer start and it will begin to sync the 100 records from provider
> --> consumer restart when have sync 60 records from provider
> --> consumer wounld not Syncrepl the rest 40 records from provider
>
> --> then, you add or delete some records, consumer will sync with provider OK
> except the 40 records
>
> May anyone give me some help? thanks!
>
> my slapd.conf content is thus:
>
> provider:
>          database bdb
>          suffix dc=Example,dc=com
>          rootdn dc=Example,dc=com
>          directory /var/ldap/db
>          index objectclass,entryCSN,entryUUID eq
>          overlay syncprov
>          syncprov-checkpoint 100 10
>          syncprov-sessionlog 100
> comsumer:
>          database hdb
>          suffix dc=Example,dc=com
>          rootdn dc=Example,dc=com
>          directory /var/ldap/db
>          index objectclass,entryCSN,entryUUID eq
>
>          syncrepl rid=123
>                  provider=ldap://provider.example.com:389
>                  type=refreshOnly
>                  interval=01:00:00:00
>                  searchbase="dc=example,dc=com"
>                  filter="(objectClass=organizationalPerson)"
>                  scope=sub
>                  attrs="cn,sn,ou,telephoneNumber,title,l"
>                  schemachecking=off
>                  bindmethod=simple
>                  binddn="cn=syncuser,dc=example,dc=com"
>                  credentials=secret
>
>
>
>


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