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

ObjectStore.addNotificationEvent is leaking queries

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment