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

HiveTxnManager.acquireLocks() should not block forever

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.3.0, 2.1.0
    • Component/s: Transactions
    • Labels:
    • Target Version/s:

      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.patch
          15 kB
          Eugene Koifman
        2. HIVE-12529.2.patch
          18 kB
          Eugene Koifman
        3. HIVE-12529.4.patch
          23 kB
          Eugene Koifman
        4. HIVE-12529.5.patch
          24 kB
          Eugene Koifman

          Issue Links

            Activity

              People

              • Assignee:
                ekoifman Eugene Koifman
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: