]> git.sur5r.net Git - openldap/commitdiff
refine previous commit
authorPierangelo Masarati <ando@openldap.org>
Sat, 8 Jul 2006 15:04:50 +0000 (15:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 8 Jul 2006 15:04:50 +0000 (15:04 +0000)
servers/slapd/back-meta/conn.c

index a543661b6c6d33c4980bf2e279be9e4f44b478e9..58d727d44c55465942aec0f933b197d041d17bd4 100644 (file)
@@ -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 {