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

HiveTxnManager.acquireLocks() should not block forever

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
    • 1.0.0
    • 1.3.0, 2.1.0
    • Transactions

    Description

      Currently, in DbTxnManager this method will block until all competing locks have gone away.
      This is not appropriate for all clients. There should be a way to specify a max-wait-time.
      It will throw an exception on timeout (given how current method signature is written).

      Attachments

        1. HIVE-12529.2.patch
          18 kB
          Eugene Koifman
        2. HIVE-12529.4.patch
          23 kB
          Eugene Koifman
        3. HIVE-12529.5.patch
          24 kB
          Eugene Koifman
        4. HIVE-12529.patch
          15 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:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment