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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.1.0
    • Metastore, Transactions
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: