Browse Source

odps用户名为空报错死循环

master
Qiaozhi 7 years ago
parent
commit
971d8db03a
  1. 6
      fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java

6
fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java

@ -2012,6 +2012,9 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
LOG.error("create connection error", e);
// unknow fatal exception
setFailContinuous(true);
if (breakAfterAcquireFailure) {
break;
}
continue;
} catch (Error e) {
lock.lock();
@ -2128,6 +2131,9 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
} catch (RuntimeException e) {
LOG.error("create connection error", e);
setFailContinuous(true);
if (breakAfterAcquireFailure) {
break;
}
continue;
} catch (Error e) {
LOG.error("create connection error", e);

Loading…
Cancel
Save