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

ASF GitHub Bot updated HIVE-29701:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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)

Reply via email to