mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
ITS#9776 Fix check on what backend we're operating on
This commit is contained in:
parent
414866b888
commit
6f31d73dc0
1 changed files with 2 additions and 1 deletions
|
|
@ -7558,7 +7558,8 @@ syncrepl_config( ConfigArgs *c )
|
|||
* happen when running on the cn=config DB.
|
||||
*/
|
||||
if ( si->si_re ) {
|
||||
if ( si->si_be == c->be || ldap_pvt_thread_mutex_trylock( &si->si_mutex )) {
|
||||
if ( si->si_be == c->ca_op->o_bd ||
|
||||
ldap_pvt_thread_mutex_trylock( &si->si_mutex )) {
|
||||
isrunning = 1;
|
||||
} else {
|
||||
/* There is no active thread, but we must still
|
||||
|
|
|
|||
Loading…
Reference in a new issue