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

Snapshot Isolation does not work for Micromanaged table when a insert transaction is aborted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Transactions
    • None
    • n/a

    Description

      TestTxnCommands2#writeBetweenWorkerAndCleaner with minor
      changes (changing delete command to insert command) fails on MM table.

      Specifically the last SELECT commands returns wrong results.

      But this test works fine with full ACID table.
      ======
      MM table inserts were not making entries into TXN_COMPONENTS, thus the txnHandler.cleanEmptyAbortedTxns(); logic in Initiator can wipe out TXNS entry for an aborted transaction before the relevant files on disk are removed.

      Attachments

        1. HIVE-18693.01.patch
          4 kB
          Steve Yeom
        2. HIVE-18693.02.patch
          45 kB
          Steve Yeom
        3. HIVE-18693.03.patch
          41 kB
          Steve Yeom
        4. HIVE-18693.04.patch
          40 kB
          Steve Yeom
        5. HIVE-18693.05.patch
          42 kB
          Steve Yeom
        6. HIVE-18693.06.patch
          42 kB
          Steve Yeom

        Issue Links

          Activity

            People

              steveyeom2017 Steve Yeom
              steveyeom2017 Steve Yeom
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: