[
https://issues.apache.org/jira/browse/NIFI-15389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048454#comment-18048454
]
ASF subversion and git services commented on NIFI-15389:
--------------------------------------------------------
Commit bdf11707a1d73b97238d5dd8f979438c4c01890d in nifi's branch
refs/heads/main from Bob Paulin
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bdf11707a1 ]
NIFI-15389 Updated DBCPConnectionPool to deregister Drivers loaded in classes
This closes #10693
Signed-off-by: David Handermann <[email protected]>
> Ensure DBCPConnectionPool Deregisters Drivers that load on class load
> ---------------------------------------------------------------------
>
> Key: NIFI-15389
> URL: https://issues.apache.org/jira/browse/NIFI-15389
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bob Paulin
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Drivers that register themselves such as Postgresql need to be deregistered
> on remove. These Drivers will be loaded by the InstanceClassLoader that
> loads the DBCPConnectionPool so we should only deregister the ones that are
> loaded by the same classloader. This will allow these instances as well as
> the classes that were used to load them to be garbage collected
--
This message was sent by Atlassian Jira
(v8.20.10#820010)