Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17735

ObjectStore.addNotificationEvent is leaking queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Hive
    • None

    Description

      In ObjectStore.addNotificationEvent():

            Query objectQuery = pm.newQuery(MNotificationNextId.class);
            Collection<MNotificationNextId> ids = (Collection) objectQuery.execute();
      

      The query is never closed.

      Attachments

        1. HIVE-17735.1.patch
          4 kB
          Aihua Xu
        2. HIVE-17735.2.patch
          5 kB
          Aihua Xu

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: