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

Investigate TxnHandler and CompactionTxnHandler to see where we improve concurrency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.3.0
    • Transactions
    • None

    Description

      at least some operations (or parts of operations) can run at READ_COMMITTED.
      CompactionTxnHandler.setRunAs()

      CompactionTxnHandler.findNextToCompact()
      if update stmt includes cq_state = '" + INITIATED_STATE + "'" in WHERE clause and logic to look for "next" candidate

      CompactionTxnHandler.markCompacted()
      perhaps add cq_state=WORKING_STATE in Where clause (mostly as an extra consistency check)

      Attachments

        1. HIVE-11948.patch
          48 kB
          Eugene Koifman
        2. HIVE-11948.7.patch
          67 kB
          Eugene Koifman
        3. HIVE-11948.6.patch
          66 kB
          Eugene Koifman
        4. HIVE-11948.5.patch
          66 kB
          Eugene Koifman
        5. HIVE-11948.4.patch
          63 kB
          Eugene Koifman
        6. HIVE-11948.3.patch
          63 kB
          Eugene Koifman

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: