You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "chaijunjie (Jira)" <ji...@apache.org> on 2024/05/18 11:28:00 UTC
[jira] [Updated] (PHOENIX-7316) Need close more Statements
[ https://issues.apache.org/jira/browse/PHOENIX-7316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chaijunjie updated PHOENIX-7316:
--------------------------------
Summary: Need close more Statements (was: Need close more PreparedStatements)
> Need close more Statements
> --------------------------
>
> Key: PHOENIX-7316
> URL: https://issues.apache.org/jira/browse/PHOENIX-7316
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.2.0
> Reporter: chaijunjie
> Priority: Major
>
> After PHOENIX-6560, we find there are also many PreparedStatement not closed...
> 1. org.apache.phoenix.schema.MetaDataClient
> incrementStatement
> linkStatement
> setAsync
> setSync
> tableUpsert
> linkStatement
> incrementStatement
> tableUpsert
> 2. org.apache.phoenix.schema.task.Task
> org.apache.phoenix.schema.task.Task#populateTasks
> org.apache.phoenix.schema.task.Task#executeStatementAndGetTaskMutations
> 3. org.apache.phoenix.jdbc.PhoenixStatement.ExecutableShowTablesStatement#compilePlan
> 4. org.apache.phoenix.trace.PhoenixMetricsSink
> org.apache.phoenix.trace.PhoenixMetricsSink#createTable
> org.apache.phoenix.trace.PhoenixMetricsSink#putMetrics
> 5. org.apache.phoenix.trace.TraceWriter.FlushMetrics#addToBatch
> 6. org.apache.phoenix.trace.TraceWriter#createTable
> 7. org.apache.phoenix.trace.TraceReader#readAll
> 8. org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter#getCandidateJobs
>
> so may be right, i will raise a PR try to fix all
--
This message was sent by Atlassian Jira
(v8.20.10#820010)