]> git.sur5r.net Git - openldap/commitdiff
ITS#5465 ignore ops without queued CSNs
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 13 May 2008 22:09:15 +0000 (22:09 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 13 May 2008 22:09:15 +0000 (22:09 +0000)
servers/slapd/overlays/syncprov.c

index e44b834f5f9787123268ceecb30b9f0165795649..317efc663c7ae659eba04d212860ad9c4f8b7dee 100644 (file)
@@ -1515,6 +1515,10 @@ syncprov_op_response( Operation *op, SlapReply *rs )
                                strcpy( si->si_ctxcsnbuf, cbuf );
                                si->si_ctxcsn.bv_len = maxcsn.bv_len;
                        }
+               } else {
+                       /* internal ops that aren't meant to be replicated */
+                       ldap_pvt_thread_rdwr_wunlock( &si->si_csn_rwlock );
+                       return SLAP_CB_CONTINUE;
                }
 
                /* Don't do any processing for consumer contextCSN updates */