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

When transactions gets a heartbeat, it doesn't update the lock heartbeat.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.3.0
    • HCatalog, Transactions
    • None

    Description

      TxnHandler.heartbeatTxn() updates the timestamp on the txn but not on the associated locks. This makes SHOW LOCKS confusing/misleading.

      This is especially visible in Streaming API use cases which use
      TxnHandler.heartbeatTxnRange(HeartbeatTxnRangeRequest rqst)

      Attachments

        1. HIVE-11914.patch
          3 kB
          Eugene Koifman
        2. HIVE-11914.3.patch
          8 kB
          Eugene Koifman
        3. HIVE-11914.2.patch
          7 kB
          Eugene Koifman

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: