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

CompactionTxnHandler.markCleaned() and TxnHandler.openTxns() misc improvements

    Details

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

      Description

      1. add a safeguard to make sure IN clause is not too large; break up by txn id to delete from TXN_COMPONENTS where tc_txnid in ...
      2. TxnHandler. openTxns() - use 1 insert with many rows in values() clause, rather than 1 DB roundtrip per row

        Attachments

        1. HIVE-12439.1.patch
          24 kB
          Wei Zheng
        2. HIVE-12439.2.patch
          27 kB
          Wei Zheng
        3. HIVE-12439.3.patch
          27 kB
          Wei Zheng

          Issue Links

            Activity

              People

              • Assignee:
                wzheng Wei Zheng
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: