[
https://issues.apache.org/jira/browse/HIVE-29701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-29701.
--------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
> Fix leaking JDO queries in ObjectStore.unwrap()
> -----------------------------------------------
>
> Key: HIVE-29701
> URL: https://issues.apache.org/jira/browse/HIVE-29701
> Project: Hive
> Issue Type: Sub-task
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> After extracting sub-stores from ObjectStore (HIVE-29672), unwrap() returns a
> JDK proxy (TransactionHandler) around a sub-store implementation (TableStore,
> ColStatsStore, etc.). A bug was found where JDO Query objects opened via
> pm.newQuery() were not reliably closed after each method call, this is due to
> a cached sub-store could have its {{pm}} overwritten while an older proxy
> still tracked queries in a different list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)