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

Use same PersistenceManager for metadata and notification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • repl
    • None

    Description

      HIVE-13966 added to support for persisting notification in the same JDO transaction as the metadata event. However, the notification is currently added using a different ObjectStore object from the one used to persist the metadata event.

      The notification is added using the ObjectStore constructed in DbNotificationListener, whereas the metadata event is added via the thread local ObjectStore (i.e. threadLocalMS in HiveMetaStore.HMSHandler).

      As a result, different PersistenceManagers (different transactions) are used to persist notification and metadata events.

      Attachments

        1. HIVE-16016.patch
          7 kB
          Mohit Sabharwal

        Issue Links

          Activity

            People

              mohitsabharwal Mohit Sabharwal
              mohitsabharwal Mohit Sabharwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: