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

ValidTxnManager doesn't consider txns opened and committed between snapshot generation and locking when evaluating ValidTxnListState

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Transactions
    • Labels:
      None

      Description

      ValidTxnManager doesn't consider txns opened and committed between snapshot generation and locking when evaluating ValidTxnListState. This cause issues like duplicate insert in case of concurrent merge insert & insert.

        Attachments

        1. HIVE-23503.1.patch
          17 kB
          Denys Kuzmenko

          Issue Links

            Activity

              People

              • Assignee:
                dkuzmenko Denys Kuzmenko
                Reporter:
                dkuzmenko Denys Kuzmenko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: