Skip to content
Snippets Groups Projects
Commit fb11017d authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

refine previous commit

parent d16c9aac
Branches
Tags
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment