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

(ITS#4716) syncrepl - consumer missed some delete



Full_Name: Paolo Rossi
Version: 2.3.27
OS: solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (88.149.168.124)


Hi,
Doing stress test on syncrepl, 1 producer --> 1 consumer, I've found a strange
issue:

Afer load the openLDAP cluster (1m entry whit random 1,2 or 3 sub dn), I've used
a script to make constant random changes on the producer. 

Meanwhile I've do some test & check on consumer.

I've found a issue when, stopping the consumer for some minutes, whit a
continuous load versus producer, restarting the consumer it resync itself but
some DELETE operation of entire subDN went lost.

Doing a search I've noticed on producer:

dn: testid=106087406087,ou=profiles,dc=foo,dc=bar
structuralObjectClass: profile
entryUUID: e2543b6a-559a-1029-82d7-f1c24b7d324b
creatorsName: cn=Manager,dc=foo,dc=bar
modifiersName: cn=Manager,dc=foo,dc=bar
createTimestamp: 20050510122923Z
modifyTimestamp: 20050510122923Z
entryCSN: 20050510122923Z#000017#00#000000
entryDN: testid=106087406087,ou=profiles,dc=foo,dc=bar
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

but on consumer:

dn: testid=106087406087,ou=profiles,dc=foo,dc=bar
structuralObjectClass: profile
entryUUID: e2543b6a-559a-1029-82d7-f1c24b7d324b
creatorsName: cn=Manager,dc=foo,dc=bar
modifiersName: cn=Manager,dc=foo,dc=bar
createTimestamp: 20050510122923Z
modifyTimestamp: 20050510122923Z
entryCSN: 20050510122923Z#000017#00#000000
entryDN: testid=106087406087,ou=profiles,dc=foo,dc=bar
subschemaSubentry: cn=Subschema
hasSubordinates: TRUE

dn: subtestID=106087406087,testid=106087406087,ou=profiles,dc=foo,dc=bar
structuralObjectClass: profileAccount
entryUUID: e25462d4-559a-1029-82d8-f1c24b7d324b
creatorsName: cn=Manager,dc=foo,dc=bar
modifiersName: cn=Manager,dc=foo,dc=bar
createTimestamp: 20050510122923Z
modifyTimestamp: 20050510122923Z
entryCSN: 20050510122923Z#000018#00#000000
entryDN: subtestID=106087406087,testid=106087406087,ou=profiles,dc=foo,dc=bar
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

-----

only on producer:
hasSubordinates: FALSE

I've "loglevel config acl sync" on consumer, but there is no log of sync
operation on that dn.

Also restarting the cluster, replica remain desynched on that dn.



Solaris 8 sparc
openLDAP 2.3.27 (64 bit build)
BDB 4.2.52.5
hdb backend


Paolo