From: Pierangelo Masarati Date: Sat, 8 Jul 2006 15:04:50 +0000 (+0000) Subject: refine previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb11017d6406675597f3cb781d8fd3dcaf50e05c;p=openldap refine previous commit --- diff --git a/servers/slapd/back-meta/conn.c b/servers/slapd/back-meta/conn.c index a543661b6c..58d727d44c 100644 --- a/servers/slapd/back-meta/conn.c +++ b/servers/slapd/back-meta/conn.c @@ -1192,12 +1192,13 @@ retry_lock2:; Debug( LDAP_DEBUG_TRACE, "%s: meta_back_getconn[%d]\n", op->o_log_prefix, i, 0 ); - } else if ( lerr == LDAP_UNAVAILABLE ) { + } else if ( lerr == LDAP_UNAVAILABLE && !META_BACK_ONERR_STOP( mi ) ) { META_CANDIDATE_SET( &candidates[ i ] ); candidates[ i ].sr_err = LDAP_UNAVAILABLE; - Debug( LDAP_DEBUG_TRACE, "%s: meta_back_getconn[%d] unavailable\n", - op->o_log_prefix, i, 0 ); + Debug( LDAP_DEBUG_TRACE, "%s: meta_back_getconn[%d] %s\n", + op->o_log_prefix, i, + mt->mt_isquarantined != LDAP_BACK_FQ_NO ? "quarantined" : "unavailable" ); } else {