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

Re: (ITS#7710) contextCSN values not updated by internal non-replicated ops



On Wed, 09 Oct 2013 05:01:40 -0700 Howard Chu <hyc@symas.com> wrote

> michael@stroeder.com wrote:
> > I've updated the test data with LDIF files and a README describing the LDAP
> > operations to perform:
> >
> > http://www.stroeder.com/temp/openldap-testbed-its7710.tar.bz2
> >
> > I consider this to be a serious issue which could be the cause for other
> > replication issues including dead-locks we're experiencing. (Maybe there
> > are similar issues in slapo-refint since dead-locks in our deployment
> > arised when moving entries into different subtree.)
> 
> Thanks, fixed now in master. Looks like refint may have run into the same 
> issue, also patched in master.

contextCSN values are correct now.

But now I see this during initial refresh phase of second server:

send_ldap_result: err=20 matched="" text="modify/add: memberOf: value #0
already exists"

Is that expected?

Ciao, Michael.


52555576 syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD)
52555576 syncrepl_entry: rid=002 inserted UUID
b5736b9e-c52f-1032-99c4-31a68f008587
52555576 mdb_idl_fetch_key: [3bec70f1]
52555576 send_ldap_result: err=0 matched="" text=""
52555576 syncrepl_entry: rid=002 be_search (0)
52555576 syncrepl_entry: rid=002 cn=replicas,ou=groups,dc=example,dc=com
52555576 ==> mdb_add: cn=replicas,ou=groups,dc=example,dc=com
52555576 mdb_idl_insert_keys: b [f4f2ead9]
52555576 mdb_idl_insert_keys: b [8f2b53e8]
52555576 mdb_idl_insert_keys: b [cb13035d]
52555576 mdb_idl_insert_keys: b [c14a3e76]
52555576 mdb_idl_insert_keys: b [3bec70f1]
52555576 mdb_idl_insert_keys: b 
52555576 send_ldap_result: err=0 matched="" text=""
52555576 mdb_modify: cn=slapd-1,ou=sys,dc=example,dc=com
52555576 mdb_modify_internal: add memberOf
52555576 dnMatch 0
	"cn=replicas,ou=groups,dc=example,dc=com"
	"cn=replicas,ou=groups,dc=example,dc=com"
52555576 mdb_modify_internal: 20 modify/add: memberOf: value #0 already exists
52555576 send_ldap_result: err=20 matched="" text="modify/add: memberOf: value
#0 already exists"
52555576 conn=-1 op=0: memberof_value_modify
DN="cn=slapd-1,ou=sys,dc=example,dc=com" add
memberOf="cn=replicas,ou=groups,dc=example,dc=com" failed err=20
52555576 mdb_modify: cn=slapd-2,ou=sys,dc=example,dc=com
52555576 mdb_modify_internal: add memberOf
52555576 dnMatch 0
	"cn=replicas,ou=groups,dc=example,dc=com"
	"cn=replicas,ou=groups,dc=example,dc=com"
52555576 mdb_modify_internal: 20 modify/add: memberOf: value #0 already exists
52555576 send_ldap_result: err=20 matched="" text="modify/add: memberOf: value
#0 already exists"
52555576 conn=-1 op=0: memberof_value_modify
DN="cn=slapd-2,ou=sys,dc=example,dc=com" add
memberOf="cn=replicas,ou=groups,dc=example,dc=com" failed err=20
52555576 syncrepl_entry: rid=002 be_add cn=replicas,ou=groups,dc=example,dc=com
(0)
52555576 do_syncrep2: rid=002 LDAP_RES_INTERMEDIATE - REFRESH_DELETE
52555576 do_syncrep2: rid=002
cookie=rid=002,sid=001,csn=20131009130900.890770Z#000000#001#000000
52555576 slap_queue_csn: queing 0x7fd79c10c200
20131009130900.890770Z#000000#001#000000
52555576 base_candidates: base: "dc=example,dc=com" (0x00000001)
52555576 send_ldap_result: err=0 matched="" text=""
52555576 mdb_modify: dc=example,dc=com
52555576 mdb_modify_internal: replace contextCSN
52555576 send_ldap_result: err=0 matched="" text=""
52555576 slap_graduate_commit_csn: removing 0x7fd79c10c170
20131009130900.890770Z#000000#001#000000