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

Re: SyncREPL Testing



test019-syncreplication-cascade performs a similar test, but it might miss
the reported case because it tests with a small data set. Configuration
files at the consumers / master will help to further examine the issue.
Also, it would be easier to track this if you file an ITS. Thanks for the
detailed info. - Jong-Hyuk

> The cause for my question was that I seem to be able to get a total of 1
> syncrepl consumer to work;  with 2 or more replication seems to stop,
> although they do sync-up when started.  Killing slapd and restarting
> consistently causes a resync, but then no further sync occurs.  If I
> just start ONE consumer than it seems to work.
>
> Example......
>
> Two consumers (localhost & throw) and master (littleboy), one consumer
> out of sync....
>
> [root@turnstone root]# ldapsearch -x -LLL -h localhost uid=adam
> morrisoninternalrate; ldapsearch -LLL -x -h throw uid=adam
> morrisoninternalrate;ldapsearch -LLL -x -h littleboy  uid=adam
> morrisoninternalrate
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 75
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> Two consumers (localhost & throw) and master (littleboy), after throw is
> restarted it comes into sync.....
>
> [root@turnstone root]# ldapsearch -x -LLL -h localhost uid=adam
> morrisoninternalrate; ldapsearch -LLL -x -h throw uid=adam
> morrisoninternalrate;ldapsearch -LLL -x -h littleboy  uid=adam
> morrisoninternalrate
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> Two consumers (localhost & throw) and master (littleboy), change made on
> master is not seen by consumers....
>
> [root@turnstone root]# ldapsearch -x -LLL -h localhost uid=adam
> morrisoninternalrate; ldapsearch -LLL -x -h throw uid=adam
> morrisoninternalrate;ldapsearch -LLL -x -h littleboy  uid=adam
> morrisoninternalrate
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 50
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
>
> Two consumers (localhost & throw) and master (littleboy), both consumer
> slapds restarted, they come into sync......
>
> [root@turnstone root]# ldapsearch -x -LLL -h localhost uid=adam
> morrisoninternalrate; ldapsearch -LLL -x -h throw uid=adam
> morrisoninternalrate;ldapsearch -LLL -x -h littleboy  uid=adam
> morrisoninternalrate
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
> Two consumers (localhost & throw) and master (littleboy), change made on
> master, both consumer out of sync......
>
> [root@turnstone root]# ldapsearch -x -LLL -h localhost uid=adam
> morrisoninternalrate; ldapsearch -LLL -x -h throw uid=adam
> morrisoninternalrate;ldapsearch -LLL -x -h littleboy  uid=adam
> morrisoninternalrate
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 60
>
> dn: cn=Adam Williams,ou=People,o=Morrison Industries,c=US
> morrisoninternalrate: 42
>
>
>