mirror of https://github.com/apache/nifi.git
76690a8ee9
Current implementation of DBCPConnectionPool was attempting to test if connection could be obtained via dataSource.getConnection(). Such call is naturally a blocking call and the duration of the block is dependent on driver implementation. Some drivers (e.g., Phoenix - https://phoenix.apache.org/installation.html) attempts numerous retries before failing creating a deadlock when attempt was made to disable DBCPConnectionPool which was still being enabled. This fix removes the connection test from DBCPConnectionPool.onConfigured() operation returning successfully upon creation of DataSource. For more details see comments in https://issues.apache.org/jira/browse/NIFI-1061 |
||
---|---|---|
.. | ||
nifi-dbcp-service-api | ||
nifi-dbcp-service-bundle | ||
nifi-distributed-cache-client-service-api | ||
nifi-distributed-cache-services-bundle | ||
nifi-hbase-client-service-api | ||
nifi-hbase_1_1_2-client-service-bundle | ||
nifi-http-context-map-api | ||
nifi-http-context-map-bundle | ||
nifi-load-distribution-service-api | ||
nifi-ssl-context-bundle | ||
nifi-ssl-context-service-api | ||
nifi-standard-services-api-nar | ||
pom.xml |