[ 
https://issues.apache.org/jira/browse/NIFI-15383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048240#comment-18048240
 ] 

ASF subversion and git services commented on NIFI-15383:
--------------------------------------------------------

Commit ce173b09cffd588bf9fee7b370e7600a3556e183 in nifi's branch 
refs/heads/main from Bob Paulin
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ce173b09cf ]

NIFI-15383 Ensure JDBC Driver deregistered from HikariCPConnectionPool (#10692)

Signed-off-by: David Handermann <[email protected]>

> Ensure JDBC Driver is deregistered when it gets loaded in the 
> HikariCPConnectionPool 
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-15383
>                 URL: https://issues.apache.org/jira/browse/NIFI-15383
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bob Paulin
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When the HikariCPConnectionPool loads a Driver it registeres to the 
> DriverManager on class load with many current drivers.  The DriverManager 
> exists in the System Classloader.    This will prevent the 
> InstanceClassLoader that the HikariCPConnectionPool is running in from being 
> Garbage Collected.  
> The Driver should be deregistered onRemove to prevent this leak.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to