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

Misc improvement to Acid module

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.3.0
    • 1.3.0, 2.1.0
    • Transactions
    • None

    Description

      1. DbLockManger.unlock() - if this fails (due to no such lock in turn due to timeout) the lock is not removed from DbLockManger internal tracking
      2. Add logic to DBLockManager to detect if there is attempt to interleave transactions or locks from different statements for read-only auto commit mode
      3. TxnHandler.checkLock() can use 1 connection instead of 2
      4. TxnHandler.timeOutLocks() - refactor so that it can log which locks were expired (simplifies debugging)
      5. TxnHandler#getTxnIdFromLockId() - include lock id if it's not found
      6. TxnHandler#checkRetryable() - log exception it saw
      7. TxnHandler.lock() - throw new MetaException("Couldn't find a lock we just created!"); - include lockid

      Attachments

        1. HIVE-12620.patch
          14 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:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment