Browse Source

BI-74885 fix: clickhouse数据连接出错时一直尝试连接

release/10.0
Roger.Chen 4 years ago
parent
commit
b491fbc111
  1. 4
      fine-druid/src/main/java/com/fr/third/alibaba/druid/pool/DruidDataSource.java

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

@ -2193,10 +2193,6 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
DruidDataSource.this.doSomethingBeforeCreationThreadBreak(); DruidDataSource.this.doSomethingBeforeCreationThreadBreak();
break; break;
} }
} catch (RuntimeException e) {
LOG.error("create connection error", e);
setFailContinuous(true);
continue;
} catch (Error e) { } catch (Error e) {
LOG.error("create connection error", e); LOG.error("create connection error", e);
setFailContinuous(true); setFailContinuous(true);

Loading…
Cancel
Save