You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2024/02/21 03:03:00 UTC

[jira] [Updated] (PHOENIX-7093) PhoenixConnection doesn't close its Statements on close()

     [ https://issues.apache.org/jira/browse/PHOENIX-7093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Jasani updated PHOENIX-7093:
----------------------------------
    Fix Version/s:     (was: 5.2.0)

> PhoenixConnection doesn't close its Statements on close()
> ---------------------------------------------------------
>
>                 Key: PHOENIX-7093
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7093
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> When a PhoenixConnection is closed, its child Statements are never closed.
> This also means the ResultSets are never closed properly.
> Any open network connections eventually time out, and the objects get GCd, but this is still iffy.
> It also kills any chance to get usable trace spans, as the spans are generally marked done in close().



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