]> git.sur5r.net Git - openldap/commitdiff
ITS#5465 ignore ops without queued CSNs
authorHoward Chu <hyc@openldap.org>
Tue, 13 May 2008 21:57:19 +0000 (21:57 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 13 May 2008 21:57:19 +0000 (21:57 +0000)
servers/slapd/overlays/syncprov.c

index 01602a79fa39a0d00f85fa14c19c698a3e2fea98..a776229b7dd8ec51cbf23686864b0763164262ef 100644 (file)
@@ -1619,6 +1619,10 @@ syncprov_op_response( Operation *op, SlapReply *rs )
                                        sizeof(int));
                                si->si_sids[i] = sid;
                        }
+               } 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 */