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

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

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: 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.2.patch
          7 kB
          Eugene Koifman
        3. HIVE-11914.3.patch
          8 kB
          Eugene Koifman

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment