Zhihua Deng created HIVE-29701:
----------------------------------

             Summary: 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


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