You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Rahul Raj <ra...@option3.io> on 2019/02/14 06:19:38 UTC

Drill does not release DB connections when a storage plugin is deleted

Drill does not release the database connection when we disable or delete a
storage plugin.
It can be seen with "lsof -i -p <<drillpid>> | grep <<db-host-ip>>" that
the number of socket connections to db host keep increasing if we keep
updating an existing storage plugin.

JdbcStoragePlugin does not override AbstractStoragePlugin#close and leaves
basic datasource open when the plugin is destroyed.

Can someone verify this? I will raise a defect and provide a fix.

Regards,
Rahul

-- 
_*** This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom it is 
addressed. If you are not the named addressee then you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately and delete this e-mail from your system.***_